:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #f43f5e;
    --secondary-light: #fb7185;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-card: #1e293b;
    --border: #334155;
}

.light-mode {
    --primary: #f8fafc;
    --primary-light: #e2e8f0;
    --secondary: #f43f5e;
    --secondary-light: #fb7185;
    --text: #0f172a;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --bg-light: #e2e8f0;
    --bg-card: #ffffff;
    --border: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    position: relative;
    height: 50px;
    width: 150px;
}

.logo {
    height: 50px;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.logo-dark {
    opacity: 1;
}

.logo-light {
    opacity: 0;
}

.light-mode .logo-dark {
    opacity: 0;
}

.light-mode .logo-light {
    opacity: 1;
}

.controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: var(--bg-light);
    position: relative;
    transition: background-color 0.3s ease;
}

.toggle-circle {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.light-mode .toggle-circle {
    transform: translateX(30px);
}

/* Language Switch */
.language-switch {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 5px;
    position: relative;
    overflow: hidden;
}

.language-option {
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    transition: color 0.3s ease;
    user-select: none;
}

.language-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--secondary);
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1;
}

.language-en .language-bg {
    transform: translateX(100%);
}

.language-active {
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--secondary);
}

.hero-bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    opacity: 0.3;
}

.hero-bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    opacity: 0.2;
}

.hero-bg-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    opacity: 0.15;
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    position: relative;
}

.mission-container {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.mission-text {
    font-size: 1.25rem;
    max-width: 800px;
}

.mission-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary);
    background: linear-gradient(to bottom, var(--secondary), var(--secondary-light));
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    flex-grow: 1;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-light);
    border-radius: 1rem;
    margin: 2rem 0;
}

.features-title {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 0 1.5rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--border);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-top: 1rem;
}

.contact-email:hover {
    transform: translateY(-3px);
}

.contact-email svg {
    margin-right: 0.75rem;
}

/* Progress Bar */
.progress-container {
    max-width: 500px;
    margin: 4rem auto 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-bar {
    height: 6px;
    width: 100%;
    background-color: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 75%;
    background: linear-gradient(to right, var(--secondary), var(--secondary-light));
    border-radius: 3px;
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Sound Wave Animation */
.sound-wave {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 100px;
    gap: 6px;
    opacity: 0.2;
}

.wave-bar {
    width: 6px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 3px;
    animation: soundWave 1.2s ease-in-out infinite;
}

@keyframes soundWave {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 100px;
    }
}

.wave-bar:nth-child(1) { animation-delay: 0.1s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.4s; }
.wave-bar:nth-child(5) { animation-delay: 0.5s; }
.wave-bar:nth-child(6) { animation-delay: 0.6s; }
.wave-bar:nth-child(7) { animation-delay: 0.7s; }

/* Language Content Display */
.de-content {
    display: none;
}

.en-content {
    display: none;
}

body[lang="de"] .de-content {
    display: block;
}

body[lang="en"] .en-content {
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .mission-title, .section-title, .contact-title {
        font-size: 2rem;
    }
    
    .sound-wave {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-container, .service-card {
        padding: 1.5rem;
    }
    
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mission, .services, .features, .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .mission-title, .section-title, .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-email {
        font-size: 1.25rem;
    }
}