:root {
    --primary-color: #007bff;
    --primary-color-light: rgba(0, 123, 255, 0.2);
    --primary-color-transparent: rgba(0, 123, 255, 0.08);
    --secondary-color: #6c757d;
    --accent-color: #3b82f6;
    --background-color: #ffffff;
    --text-color: #000000;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    --card-bg: #ffffff;
    --body-bg: #f8fafc;
    --border-color: rgba(0, 123, 255, 0.1);
    --border-color-light: #e2e8f0;
    --hover-bg: #f1f5f9;
    --nav-height: 70px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-primary-hover: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.03);
    --input-bg: #ffffff;
    --input-border: #e5e7eb;
    --primary-rgb: 37, 99, 235;
    --accent-rgb: 59, 130, 246;
}

:root.dark-mode {
    --primary-color: #3b82f6;
    --primary-color-light: rgba(59, 130, 246, 0.2);
    --primary-color-transparent: rgba(59, 130, 246, 0.08);
    --secondary-color: #2563eb;
    --accent-color: #60a5fa;
    --background-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --heading-color: #f1f5f9;
    --card-bg: #1e293b;
    --body-bg: #0f172a;
    --border-color: rgba(59, 130, 246, 0.2);
    --border-color-light: #334155;
    --hover-bg: #334155;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-primary-hover: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.1);
    --input-bg: #1e293b;
    --input-border: #334155;
    scrollbar-color: #60a5fa #1e293b;
}

@keyframes fadeInOut {
    0%, 25% {
        opacity: 1;
        transform: translateY(0);
    }
    33%, 92% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body {
    font-family: 'Poppins', sans-serif; /* Use the Poppins font */
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Example for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* Use Poppins for headings */
}

.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    height: var(--nav-height);
    position: relative;
}

.logo {
    position: absolute;
    left: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 auto;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-links a i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.nav-links a:hover i {
    transform: translateY(-2px);
}

.nav-links a.active {
    background: var(--primary-color);
    color: white;
}

.nav-links a.active i {
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 2rem;
}

.mobile-menu-btn:hover {
    background: rgba(37, 99, 235, 0.1);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    position: absolute;
    left: 8px;
}

.mobile-menu-btn span:nth-child(1) {
    transform: translateY(-8px);
}

.mobile-menu-btn span:nth-child(3) {
    transform: translateY(8px);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 4rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: 2rem;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    background: url('/images/hero-image.jpg') center center/cover;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(29, 78, 216, 0.1) 100%);
    z-index: 1;
}

.hero h1 {
    font-size: 4.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    position: relative;
    z-index: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.hero p {
    font-size: 1.4rem;
    color: #4b5563;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.hero .cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    overflow: hidden;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.hero .cta-button:hover::before {
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 4rem 2rem;
        text-align: center;
        margin: 0 auto;
    }

    .hero-image {
        display: none;
    }

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

    .hero p {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 3rem 1.5rem;
    }

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

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

    .hero .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

.cta {
    padding: 10rem 2rem;
    text-align: center;
    background: 
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(29, 78, 216, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta::before {
    content: '';
        position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.343 0L13.857 8.485 15.272 9.9l7.9-7.9h-.83zm5.657 0L19.514 8.485 20.93 9.9l8.485-8.485h-1.415zM32.372 0L22.343 10.03 23.758 11.444l10.03-10.03h-1.415zm-1.414 0L19.514 11.444l1.414 1.414 11.444-11.444h-1.414zM32.372 0L17.9 14.472l1.414 1.414L34.786 0h-2.414zm2.828 0L19.514 15.886l1.414 1.414L36.2 0h-1zM44.787 0L22.343 22.443l1.414 1.414L46.2 0h-1.415zm-12.415 0L16.686 15.886l1.415 1.414L37.2 0h-4.828zm-6.585 0L18.1 7.687l1.414 1.414L29.572 0h-3.785zM38.03 0L22.342 15.686l1.414 1.414L39.443 0h-1.414z' fill='%232563eb' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.6;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #4b5563;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta .cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    overflow: hidden;
}

.cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
        left: 0;
        width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.cta .cta-button:hover::before {
    transform: translateX(0);
}

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

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

.features {
    padding: 6rem 2rem;
    background-color: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    transform: rotate(-45deg);
    pointer-events: none;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230f172a'/%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    transform: translateY(-100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    position: relative;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    position: relative;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.footer-links li a:hover {
    background: rgba(148, 163, 184, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
    color: #f8fafc;
}

.footer-links li a .link-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.footer-links li a .link-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0.75rem;
}

.footer-links li a:hover .link-tag {
    transform: translateX(5px);
    filter: brightness(1.2);
}

.footer-links li a:hover i {
    transform: translateX(5px);
    color: #f8fafc;
}

.footer-links li a i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* Tag-Varianten */
.link-tag[data-tag="Neu"] {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.link-tag[data-tag="Team"] {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.link-tag[data-tag="Services"] {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.link-tag[data-tag="Projekte"] {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.link-tag[data-tag="24/7"] {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.link-tag[data-tag="Innovativ"] {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.link-tag[data-tag="Effizient"] {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.link-tag[data-tag="KI"] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.link-tag[data-tag="Optimiert"] {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 30px;
}

.social-links a .icon-container {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.social-links a .icon-label {
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(5px);
    position: absolute;
    bottom: -25px;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    white-space: nowrap;
}

.social-links a:hover .icon-container {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.social-links a:hover .icon-label {
    color: #3b82f6;
    opacity: 1;
    transform: translateY(0) scale(1.05);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter h5 {
    font-size: 1rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.05);
    color: #f8fafc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(148, 163, 184, 0.1);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: #f8fafc;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-bottom-links a:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: rgba(37, 99, 235, 1);
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
    text-align: center;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links li a {
        justify-content: space-between;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-links {
        gap: 2rem;
    }
}

.nav-item {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-trigger .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
        background: var(--background-color);
    border-radius: 12px;
        padding: 1rem;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown-menu.mega-menu {
    padding: 1.5rem;
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dropdown-menu .menu-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
}

.dropdown-menu .menu-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.dropdown-menu .menu-section a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu .menu-section a i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.dropdown-menu .menu-section a:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.dropdown-menu .menu-section a:hover i {
    transform: scale(1.1);
}

.dropdown-menu .featured-section {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.featured-section .featured-content {
    flex: 1;
}

.featured-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.featured-section p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.featured-section .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-section .cta-link:hover {
    transform: translateX(5px);
}

.featured-section .featured-image {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-section .featured-image i {
    font-size: 3rem;
    color: white;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--background-color);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: block;
        position: fixed;
        top: calc(var(--nav-height) + 20px);
        left: 0%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - var(--nav-height) - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 1000;
        margin: 0;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links > a,
    .nav-item {
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active > a,
    .nav-links.active .nav-item {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(var(--item-index) * 0.05s);
    }

    .nav-links > a {
        display: flex;
        width: 100%;
        padding: 1rem 1.5rem;
        margin-bottom: 0.75rem;
        background: white;
        border-radius: 12px;
        font-weight: 500;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-item {
        width: 100%;
        background: white;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu,
    .dropdown-menu.mega-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        transform: none !important;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
        background: rgba(248, 250, 252, 0.8);
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
    }

    .nav-item.active .dropdown-menu {
        max-height: 2000px;
        padding: 0.75rem;
        margin-top: 0.5rem;
    }

    .dropdown-menu .menu-section {
    margin-bottom: 1rem;
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu .menu-section:last-child {
        margin-bottom: 0;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        background: white;
        border-radius: 8px;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .nav-item.active .dropdown-menu a {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(var(--item-index) * 0.05s);
    }

    .dropdown-trigger {
        width: 100%;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        font-weight: 500;
    }

    .nav-item.active .dropdown-trigger {
        background: rgba(37, 99, 235, 0.1);
        border-radius: 12px 12px 0 0;
    }

    .nav-item.active .dropdown-trigger i.fa-chevron-down {
        transform: rotate(180deg);
    }

    .featured-section {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        background: white;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .featured-section .featured-image {
        width: 80px;
        height: 80px;
        margin: 1rem auto;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    body.menu-open {
        overflow: hidden;
    }
    
    .dropdown-menu::before {
        display: none;
    }
}

/* FAQ Sektion */
.faq-section {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    align-items: start;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.faq-trigger {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

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

.faq-trigger i {
    color: var(--primary-color);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-trigger {
    background: rgba(37, 99, 235, 0.05);
}

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

.faq-content {
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top;
    transform: translateY(-10px);
}

.faq-item.active .faq-content {
    padding: 1.5rem;
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.faq-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Seitliche Kontaktleiste */
.side-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 15px 0 0 15px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.side-contact a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    overflow: visible;
}

.side-contact a i {
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Specific icon size adjustments */
.side-contact a .fa-whatsapp,
.side-contact a .fa-discord {
    font-size: 1.4rem;
}

/* Specific adjustment for Discord icon */
.side-contact a .fa-discord {
    font-size: 1.2rem;
}

.side-contact a span {
    position: absolute;
    right: 100%;
    white-space: nowrap;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-right: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.side-contact a:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.side-contact a:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .side-contact {
        bottom: 0;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        border-radius: 15px 15px 0 0;
        padding: 0.75rem;
    }

    .side-contact a {
        width: 45px;
    }

    .side-contact a:hover {
        background: rgba(37, 99, 235, 0.1);
    }

    .side-contact a span {
        right: auto;
        left: 50%;
        bottom: 100%;
        transform: translateX(-50%) translateY(10px);
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .side-contact a:hover span {
        transform: translateX(-50%) translateY(0);
    }
}

/* Stats Sektion */
.stats-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: white;
}

.stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Testimonials Sektion */
.testimonials-section {
    padding: 6rem 2rem;
    background: white;
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Partner Sektion */
.partners-section {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.partner-item span {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .partners-grid {
        gap: 1.5rem;
    }
}

/* Impressum Sektion */
.imprint-section {
    padding: 120px 0 60px;
    background-color: var(--body-bg);
    transition: background-color 0.3s ease;
    min-height: calc(100vh - 400px);
}

.imprint-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.imprint-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
}

.imprint-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
    text-align: center;
}

.imprint-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color-light);
}

.imprint-content h2:first-child {
    margin-top: 0;
}

.imprint-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.imprint-content p, 
.imprint-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.imprint-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.imprint-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.imprint-content a:hover {
    text-decoration: underline;
}

.imprint-content .last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-align: center;
}

.download-pdf {
    margin-top: 3rem;
    text-align: center;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.pdf-button:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pdf-button i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Dark Mode Styles for Imprint Page */
.dark-mode .imprint-section {
    background-color: var(--body-bg);
}

.dark-mode .imprint-content {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .imprint-content h2 {
    border-bottom-color: var(--border-color);
}

.dark-mode .pdf-button {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.imprint-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.imprint-content ul li {
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    color: var(--primary-color);
    font-family: monospace;
}

.imprint-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.download-pdf {
    margin-top: 3rem;
    text-align: center;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.pdf-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pdf-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .imprint-section {
        padding: 6rem 1rem 4rem;
    }

    .imprint-section .container {
        padding: 2rem;
    }

    .imprint-section h1 {
        font-size: 2rem;
    }

    .imprint-content h2 {
        font-size: 1.3rem;
    }

    .imprint-content ul li {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .pdf-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Kontaktformular Styles */
.contact-section {
    padding: 120px 0 60px;
    background-color: var(--body-bg);
    background-image: 
        radial-gradient(circle at 20% 20%, var(--primary-color-transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-color-transparent) 0%, transparent 50%);
    min-height: calc(100vh - 400px);
    transition: background-color 0.3s ease;
}

.dark-mode .contact-section {
    background-color: var(--body-bg);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
}

.dark-mode .contact-section .container {
    background-color: rgba(0, 0, 0, 0.01);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color-light);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: var(--primary-color-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
    background: var(--gradient-primary);
    color: white;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.contact-form {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.dark-mode .contact-form {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .info-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .info-card:hover {
    border-color: var(--primary-color);
}

.dark-mode .contact-header h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-form .form-group label.required::after {
    content: '*';
    color: #dc2626;
    margin-left: 4px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; } /* Startzustand: Vollständig sichtbar */
    50% { opacity: 0.5; } /* Zwischenzustand: Halbtransparent */
    100% { opacity: 1; } /* Endzustand: Vollständig sichtbar */
}

.contact-form .error-message {
    display: block;
    width: 100%;
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    animation: errorShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
    scroll-margin-top: 100px;
}

.contact-form .privacy-error {
    margin-top: 10px;
    margin-bottom: 15px;
    display: block;
    clear: both;
    width: 100%;
    position: relative;
    z-index: 10;
}

.contact-form .checkbox-group + .privacy-error {
    margin-top: 10px;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.contact-form .form-group input.error,
.contact-form .form-group select.error,
.contact-form .form-group textarea.error {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.02);
    scroll-margin-top: 100px;
}

.contact-form .form-group input.error:focus,
.contact-form .form-group select.error:focus,
.contact-form .form-group textarea.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--input-bg);
    color: var(--text-color);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #9ca3af;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-form .checkbox-group:hover {
    background: rgba(37, 99, 235, 0.08);
}

.contact-form .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.contact-form .submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
    margin-bottom: 15px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
}

.contact-form .submit-btn:active {
    transform: translateY(-1px);
}

.contact-form .alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    width: 100%;
    animation: alertSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
}

.contact-form .alert-error {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.contact-form .alert-success {
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.contact-form .alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form .alert .alert-message {
    flex: 1;
    font-weight: 500;
    line-height: 1.5;
}

/* Dark mode alert styles */
.dark-mode .contact-form .alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.dark-mode .contact-form .alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.contact-form .alert:hover {
    transform: translateY(-2px);
}

.contact-form .alert p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.contact-form .alert .close-btn {
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: inherit;
    opacity: 0.7;
}

.contact-form .alert .close-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.contact-form .alert .alert-message {
    flex: 1;
}

.contact-form .map-section {
    margin-top: 80px;
    padding: 0 20px;
}

.contact-form .map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(0.2) contrast(1.2);
    transition: all 0.3s ease;
}

.contact-form .map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-header h1 {
        font-size: 2.5em;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 2em;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

.contact-info .social-links {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
}

.contact-info .social-links h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info .social-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.contact-info .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-info .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
}

.contact-info .social-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info .social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.contact-info .social-icon:hover i {
    transform: scale(1.1);
}

.contact-info .social-icon::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info .social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

.contact-info .required-fields-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding: 12px 15px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-info .required-fields-info i {
    color: #dc2626;
    font-size: 1rem;
}

.contact-info .required-fields-info span {
    color: #666;
}

@media (max-width: 576px) {
    .contact-info .required-fields-info {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    margin-left: 1.5rem;
    cursor: pointer;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(37, 99, 235, 0.15);
    border-radius: 34px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-toggle input:checked + .slider {
    background-color: var(--primary-color);
}

.theme-toggle input:checked + .slider:before {
    transform: translateX(24px);
}

.theme-toggle .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: var(--primary-color);
    font-size: 12px;
}

.theme-toggle .sun-icon {
    left: 6px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.theme-toggle .moon-icon {
    right: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle input:checked ~ .sun-icon {
    opacity: 0;
}

.theme-toggle input:checked ~ .moon-icon {
    opacity: 1;
}

/* Mobile Toggle Styles */
@media (max-width: 768px) {
    .theme-toggle {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        height: auto;
    }
    
    .theme-toggle .toggle-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        background: white;
        border-radius: 12px;
        font-weight: 500;
    }
    
    .theme-toggle .toggle-label {
        font-size: 1rem;
        color: var(--text-color);
    }
    
    .theme-toggle .toggle-control {
        position: relative;
        width: 50px;
        height: 26px;
    }
    
    .dark-mode .theme-toggle .toggle-wrapper {
        background: var(--card-bg);
    }
}

/* Desktop Toggle Styles */
@media (min-width: 769px) {
    .theme-toggle .toggle-wrapper,
    .theme-toggle .toggle-label,
    .theme-toggle .toggle-control {
        display: none;
    }
}

.desktop-only {
    display: block;
}

.theme-toggle.desktop-only {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

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

/* Dark Mode Anpassungen */
.dark-mode {
    background-color: var(--background-color);
    color: var(--text-color);
}

.dark-mode .floating-nav {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.dark-mode .logo a {
    color: var(--primary-color);
}

.dark-mode .nav-links a {
    color: var(--text-color);
}

.dark-mode .nav-links a:hover {
    background: rgba(59, 130, 246, 0.15);
}

.dark-mode .nav-links a.active {
    background: var(--primary-color);
}

.dark-mode .mobile-menu-btn span {
    background-color: var(--text-color);
}

.dark-mode .dropdown-menu {
    background: var(--card-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .dropdown-menu a {
    color: var(--text-color);
}

.dark-mode .dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.15);
}

.dark-mode .featured-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.dark-mode .featured-section h3 {
    color: var(--primary-color);
}

.dark-mode .featured-section p {
    color: var(--text-color);
}

.dark-mode .hero {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.dark-mode .hero p {
    color: #94a3b8;
}

.dark-mode .feature-card {
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.dark-mode .feature-card::before {
    content: '';
        position: absolute;
    top: 0;
        left: 0;
        width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.dark-mode .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.6);
}

.dark-mode .feature-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.dark-mode .feature-card h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dark-mode .feature-card p {
    color: rgba(209, 213, 219, 0.9);
    line-height: 1.6;
}

.dark-mode .feature-card i {
    color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.dark-mode .cta {
    background: 
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.dark-mode .cta p {
    color: #94a3b8;
}

.dark-mode .faq-section {
    background: #0f172a;
}

.dark-mode .faq-item {
    background: var(--card-bg);
}

.dark-mode .faq-content p {
    color: #94a3b8;
}

.dark-mode .footer-links li a {
    color: #94a3b8;
}

.dark-mode .footer-links li a:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f8fafc;
}

.dark-mode .newsletter-form input {
    background: rgba(148, 163, 184, 0.05);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

.dark-mode .newsletter-form input:focus {
    border-color: var(--primary-color);
    background: rgba(148, 163, 184, 0.1);
}

.dark-mode .scroll-to-top {
    background: rgba(59, 130, 246, 0.9);
}

.dark-mode .stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
}

.dark-mode .testimonials-section {
        background: var(--background-color);
}

.dark-mode .testimonial-item {
    background: var(--card-bg);
}

.dark-mode .testimonial-content p {
    color: #94a3b8;
}

.dark-mode .testimonial-author h4 {
    color: var(--text-color);
}

.dark-mode .testimonial-author span {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .dark-mode .nav-links {
        background: rgba(30, 41, 59, 0.98);
    }
    
    .dark-mode .nav-links > a,
    .dark-mode .nav-item {
        background: var(--card-bg);
    }
    
    .dark-mode .dropdown-menu {
        background: rgba(15, 23, 42, 0.8);
    }
    
    .dark-mode .dropdown-menu a,
    .dark-mode .dropdown-trigger {
        background: var(--card-bg);
    }
    
    .dark-mode .nav-item.active .dropdown-trigger {
        background: rgba(59, 130, 246, 0.15);
    }
}

.dark-mode .partners-section {
    background: #0f172a;
}

.dark-mode .partner-item {
    background: var(--card-bg);
}

.dark-mode .partner-item span {
    color: var(--text-color);
}

.dark-mode footer {
    background: #0f172a;
}

.dark-mode .footer-bottom {
    background: rgba(15, 23, 42, 0.8);
}

.dark-mode .side-contact {
    background: rgba(30, 41, 59, 0.95);
}

.dark-mode .side-contact a {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .side-contact a:hover {
    background: rgba(59, 130, 246, 0.15);
}

.dark-mode .side-contact a span {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Zusätzliche Dark Mode Anpassungen */
.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6 {
    color: var(--text-color);
}

.dark-mode .required-fields-info {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.dark-mode .required-fields-info span {
    color: #e2e8f0;
}

.dark-mode .form-group label {
    color: var(--text-color);
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .form-group textarea {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
}

.dark-mode .form-group input::placeholder,
.dark-mode .form-group textarea::placeholder {
    color: #64748b;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus,
.dark-mode .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.dark-mode .checkbox-group {
    background: rgba(59, 130, 246, 0.1);
}

.dark-mode .checkbox-group:hover {
    background: rgba(59, 130, 246, 0.15);
}

.dark-mode .checkbox-group label {
    color: #e2e8f0;
}

.dark-mode .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.dark-mode .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.dark-mode .contact-info {
}

.dark-mode .info-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .info-card h3 {
    color: var(--text-color);
}

.dark-mode .info-card p {
    color: #94a3b8;
}

.dark-mode .info-card .info-note {
    color: #64748b;
}

.dark-mode .contact-form {
    background: rgba(30, 41, 59, 0.8);
}

.dark-mode .map-container iframe {
    filter: grayscale(0.7) contrast(0.9) invert(0.9);
}



.dark-mode .social-icon {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .social-icon i {
    color: var(--primary-color);
}

.dark-mode .footer-section h4 {
    color: #f8fafc;
}

.dark-mode .footer-section p {
    color: #94a3b8;
}

.dark-mode .footer-logo span {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-mode .footer-bottom-links a {
    border-color: rgba(148, 163, 184, 0.2);
}

.dark-mode .footer-bottom-links a:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.3);
}

.dark-mode .link-tag {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Spezifische Link-Tag Varianten im Dark Mode */
.dark-mode .link-tag[data-tag="Neu"] {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.dark-mode .link-tag[data-tag="Team"] {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.3);
}

.dark-mode .link-tag[data-tag="Services"] {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.3);
}

.dark-mode .link-tag[data-tag="Projekte"] {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.dark-mode .link-tag[data-tag="24/7"] {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.3);
}

.dark-mode .link-tag[data-tag="Innovativ"] {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.3);
}

.dark-mode .link-tag[data-tag="Effizient"] {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.3);
}

.dark-mode .link-tag[data-tag="KI"] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.dark-mode .link-tag[data-tag="Optimiert"] {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
    border-color: rgba(20, 184, 166, 0.3);
}

.dark-mode .features {
    background-color: var(--background-color);
    padding: 6rem 2rem;
}

/* Über uns Container Styles */
.about-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    margin: 2rem auto;
    max-width: 1200px;
    width: 90%;
}

.about-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.about-container h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.about-container p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.about-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.about-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    width: 80px;
    height: 80px;
        display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.about-item:hover i {
    transform: scale(1.1);
    background: var(--gradient-primary);
    color: white;
}

.about-item h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-item p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Dark Mode Anpassungen */
.dark-mode .about-container {
    background: rgba(30, 41, 59, 0.95);
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(59, 130, 246, 0.2);
}

.dark-mode .about-container:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(59, 130, 246, 0.3);
}

.dark-mode .about-item {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
                0 0 10px rgba(59, 130, 246, 0.1);
}

.dark-mode .about-item:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(59, 130, 246, 0.2);
}

.dark-mode .about-item h3 {
    color: var(--text-color);
    text-shadow: 0 2px 5px rgba(59, 130, 246, 0.1);
}

.dark-mode .about-item p {
    color: #94a3b8;
}

.dark-mode .about-item i {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.dark-mode .about-item:hover i {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .about-container {
        padding: 1.5rem;
        margin: 1rem auto;
        width: 95%;
    }

    .about-container h2 {
        font-size: 1.75rem;
    }

    .about-container p {
        font-size: 0.95rem;
    }

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

    .about-item {
        padding: 1.5rem;
    }

    .about-item i {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }

    .about-item h3 {
        font-size: 1.2rem;
    }

    .about-item p {
        font-size: 0.95rem;
    }
}

.dark-mode .dropdown-menu .menu-section {
    background: var(--card-bg);
}

.dark-mode .dropdown-menu .menu-section h3 {
    color: var(--primary-color);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.dark-mode .dropdown-menu .menu-section a {
    color: var(--text-color);
}

.dark-mode .dropdown-menu .menu-section a:hover {
    background: rgba(59, 130, 246, 0.15);
 color: var(--primary-color);
}

.dark-mode .dropdown-menu .menu-section a i {
    color: var(--primary-color);
}

.dark-mode .dropdown-menu .menu-section a:hover i {
    color: var(--primary-color);
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    overflow-y: auto; /* Allow scrolling if content is too tall */
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.language-modal-content {
    background-color: var(--card-bg);
    margin: auto;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideIn 0.4s ease-out;
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-height: 90vh; /* Limit height on all devices */
    display: flex;
    flex-direction: column;
}

.close-button,
.language-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color-light);
    margin-left: auto;
}

.close-button:hover,
.modal-close:hover,
.language-modal-close:hover {
    color: var(--primary-color);
    background-color: var(--hover-bg);
    transform: rotate(90deg);
    border-color: var(--primary-color);
}

.language-modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: left;
}

.language-modal-content p {
    font-size: 1.1rem; /* Schriftgröße */
    margin-bottom: 2rem; /* Abstand zum unteren Rand */
    color: var(--text-color); /* Farbe aus Ihren CSS-Variablen */
    line-height: 1.5; /* Zeilenhöhe für bessere Lesbarkeit */
}

.modal-buttons {
    display: flex; /* Verwendet Flexbox für die Anordnung der Buttons */
    justify-content: center; /* Zentriert die Buttons horizontal */
    gap: 1rem; /* Abstand zwischen den Buttons */
}

.btn {
    padding: 0.8rem 1.5rem; /* Innenabstand */
    border-radius: 8px; /* Abgerundete Ecken */
    font-weight: 600; /* Fettdruck */
    text-decoration: none; /* Entfernt Unterstreichung bei Links */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Sanfte Übergänge */
    display: inline-block; /* Macht es zu einem Blockelement, das inline verläuft */
    border: none; /* Entfernt den Rahmen */
    cursor: pointer; /* Cursor-Stil */
}

.primary-button {
    background: var(--gradient-primary); /* Farbverlauf aus Ihren CSS-Variablen */
    color: white; /* Textfarbe */
    box-shadow: var(--shadow-sm); /* Schatten aus Ihren CSS-Variablen */
}

.primary-button:hover {
    transform: translateY(-3px); /* Leichte Anhebung beim Hovern */
    box-shadow: var(--shadow-md); /* Starkerer Schatten beim Hovern */
}

.secondary-button {
    background-color: var(--background-color); /* Hintergrundfarbe aus Ihren CSS-Variablen */
    color: var(--text-color); /* Farbe aus Ihren CSS-Variablen */
    border: 1px solid var(--border-color); /* Rahmen aus Ihren CSS-Variablen */
}

.secondary-button:hover {
    background-color: var(--border-color); /* Farbe aus Ihren CSS-Variablen */
    transform: translateY(-3px); /* Leichte Anhebung beim Hovern */
    box-shadow: var(--shadow-sm); /* Schatten aus Ihren CSS-Variablen */
}

/* Animationen */
@keyframes fadeIn {
    from { opacity: 0; } /* Startzustand: Unsichtbar */
    to { opacity: 1; } /* Endzustand: Vollständig sichtbar */
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; } /* Startzustand: Leicht nach oben versetzt und unsichtbar */
    to { transform: translateY(0); opacity: 1; } /* Endzustand: Ursprüngliche Position und vollständig sichtbar */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .language-modal-content {
        padding: 1.5rem;
        width: 80%;
    }

    .language-modal-content h2 {
        font-size: 1.5rem;
    }

    .language-modal-content p {
        font-size: 1rem;
    }

    .modal-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }
}

/* Language Button Styles */
.nav-language-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 6px;
    background: transparent;
    color: var(--text-color);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 6.5rem;
    box-shadow: none;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    overflow: hidden;
}

.nav-language-btn::before {
    content: none;
}

.nav-language-btn:hover {
    box-shadow: none;
    transform: none;
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-language-btn:hover::before {
    left: 100%;
}

.nav-language-btn span {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0;
    font-size: 0.8rem;
}

.nav-language-btn i.fas.fa-globe {
    margin-right: 2px;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.language-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 1px;
    color: var(--primary-color);
}

.nav-language-btn:hover .language-chevron {
    transform: rotate(180deg);
}

/* Language Selector Modal Styles */
.language-selector-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 600px;
    width: 90%;
    overflow: hidden;
}

.language-selector-body {
    padding: 1rem;
    overflow-y: auto; /* Enable scrolling for the content area */
    flex: 1; /* Allow this to take remaining space */
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg);
}

.language-option:hover {
    background-color: var(--hover-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color-light);
}

.language-option.active {
    background-color: var(--primary-color-transparent);
    border-color: var(--primary-color);
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.language-option.active::before {
    opacity: 1;
}

.language-flag {
    width: 48px;
    height: 36px;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    flex-shrink: 0;
}

.language-option:hover .language-flag {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color-light);
}

.language-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.language-info {
    flex: 1;
}

.language-info h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    transition: color 0.2s;
}

.language-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.language-option:hover .language-info h3 {
    color: var(--primary-color);
}

.language-check {
    margin-left: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.language-option.active .language-check {
    opacity: 1;
    transform: scale(1);
}

/* Language Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.language-modal-content {
    background-color: var(--card-bg);
    margin: auto;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideIn 0.4s ease-out;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modal-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--card-bg);
    z-index: 10;
}

.modal-header h2 {
    text-align: left;
    margin-left: 15px;
}

.header-icon-container {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: var(--shadow-sm);
}

.modal-icon {
    color: white;
    font-size: 1.5rem;
}

.close-button {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color-light);
    margin-left: auto;
}

.close-button:hover,
.modal-close:hover {
    color: var(--text-color);
    background-color: var(--hover-bg);
    transform: rotate(90deg);
}

.language-modal-content h2 {
    margin: 0;
    padding: 0;
    color: var(--heading-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.language-modal-content p {
    margin: 0 0 25px;
    padding: 0 25px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-color);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    padding: 0 25px 25px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.primary-button:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.primary-button:hover::before {
    left: 100%;
}

.secondary-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.secondary-button:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 576px) {
    .language-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .language-flag {
        width: 42px;
        height: 32px;
    }
    
    .language-selector-body {
        padding: 5px 20px 20px;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .language-modal-content {
        width: 92%;
        max-width: none;
        margin: 15px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal {
        align-items: center;
        padding: 20px 0;
        overflow-y: auto;
    }
    
    .language-modal-content h2 {
        font-size: 1.4rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-header {
        padding: 15px 20px 10px;
        position: sticky;
        top: 0;
        background: var(--card-bg);
        z-index: 10;
    }
    
    .header-icon-container {
        width: 38px;
        height: 38px;
    }
    
    .modal-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-language-btn {
        position: static;
        margin-left: 0;
        margin-right: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
        padding: 6px 10px;
        border-radius: 2px;
        background: transparent;
        color: var(--text-color);
        font-size: 0.9rem;
        border: 1px solid var(--border-color);
    }
    
    .nav-language-btn:hover {
        background-color: var(--bg-light);
        border-color: var(--primary-color);
    }
    
    .nav-language-btn i.fas.fa-globe,
    .language-chevron {
        color: var(--primary-color);
    }
    
    .language-selector-content {
        width: 95%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .logo {
        position: static;
        left: auto;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-links {
        display: block;
        position: fixed;
        top: calc(var(--nav-height) + 20px);
        left: 0%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - var(--nav-height) - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 1000;
        margin: 0;
    }
}

/* New Language Modal Styles */
.language-notification {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.notification-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 12px;
    margin-top: 2px;
}

.language-notification p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

.language-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 10px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.preview-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    max-width: 45%;
}

.preview-option.current {
    background-color: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.preview-option.suggested {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.preview-flag {
    width: 40px;
    height: 30px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 12px;
    box-shadow: var(--shadow-sm);
}

.preview-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.preview-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preview-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.language-note {
    text-align: center;
    padding: 10px;
    border-top: 1px solid var(--border-color-light);
}

.language-note p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Dark Mode Styles for Language Modal */
.dark-mode .language-notification {
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary-color);
}

.dark-mode .language-preview {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .preview-option.current {
    background-color: rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.dark-mode .preview-option.suggested {
    background-color: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

.dark-mode .language-note {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles for Language Modal */
@media (max-width: 576px) {
    .language-preview {
        flex-direction: column;
        gap: 10px;
    }
    
    .preview-option {
        max-width: 100%;
        width: 100%;
    }
    
    .preview-arrow {
        transform: rotate(90deg);
        padding: 5px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

/* Language Modal Styles - New Design */
.language-alert {
    background-color: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
}

.language-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.language-card {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.language-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.language-card.current {
    border-color: var(--primary-color);
}

.language-card.suggested {
    border-color: var(--accent-color);
}

.language-card-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-light);
    border-bottom: 1px solid var(--border-color-light);
}

.language-card-header img {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.language-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.language-card-body {
    padding: 12px 15px;
    background-color: var(--bg-white);
    text-align: center;
}

.language-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.language-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.language-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.language-actions .btn i {
    font-size: 0.85rem;
}

/* Dark Mode Styles */
.dark-mode .language-alert {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-card {
    background-color: var(--bg-dark-secondary);
}

.dark-mode .language-card-header {
    background: var(--gradient-dark);
}

.dark-mode .language-card-body {
    background-color: var(--bg-dark-secondary);
}

/* Responsive Styles */
@media (max-width: 576px) {
    .language-selection {
        flex-direction: column;
    }
    
    .language-actions {
        flex-direction: column;
    }
}

/* Language Modal Styles - Enhanced Design */
.language-alert {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-icon {
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.language-alert p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.language-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.language-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-actions .btn span {
    font-weight: 500;
}

.language-actions .btn i {
    font-size: 0.9rem;
}

.language-selection {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.language-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.divider-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    box-shadow: var(--shadow-md);
    color: white;
    font-size: 0.9rem;
    transform: rotate(90deg);
}

.language-card {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    z-index: 0;
}

.language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.language-card.current {
    background: linear-gradient(to bottom, var(--bg-white), rgba(var(--primary-rgb), 0.05));
    border-bottom: 3px solid var(--primary-color);
}

.language-card.suggested {
    background: linear-gradient(to bottom, var(--bg-white), rgba(var(--accent-rgb), 0.05));
    border-bottom: 3px solid var(--accent-color);
}

.language-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color-light);
    background: var(--bg-white);
}

.flag-wrapper {
    width: 40px;
    height: 30px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.flag-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.flag-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.language-card-body {
    padding: 15px 20px;
    background-color: transparent;
    text-align: center;
}

.language-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.language-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.language-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.language-actions .btn:hover::before {
    left: 100%;
}

.language-actions .btn i {
    font-size: 0.9rem;
}

.language-actions .primary-button {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.language-actions .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.language-actions .secondary-button {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.language-actions .secondary-button:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Dark Mode Styles */
.dark-mode .language-alert {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-card {
    background: linear-gradient(to bottom, var(--bg-dark-secondary), var(--bg-dark));
}

.dark-mode .language-card.current {
    background: linear-gradient(to bottom, var(--bg-dark-secondary), rgba(var(--primary-rgb), 0.15));
}

.dark-mode .language-card.suggested {
    background: linear-gradient(to bottom, var(--bg-dark-secondary), rgba(var(--accent-rgb), 0.15));
}

.dark-mode .language-card-header {
    background: var(--bg-dark-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .divider-line {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.dark-mode .language-actions .secondary-button {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark);
}

.dark-mode .language-actions .secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color-dark);
}

/* Responsive Language Modal Styles */
@media (max-width: 576px) {
    .language-selection {
        flex-direction: column;
        gap: 30px;
    }
    
    .language-divider {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    
    .divider-line {
        flex: 1;
        height: 1px;
        width: auto;
        background: linear-gradient(to right, transparent, var(--border-color), transparent);
    }
    
    .divider-icon {
        transform: rotate(0);
        margin: 0 15px;
    }
    
    .language-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .language-card {
        width: 100%;
    }
    
    .dark-mode .divider-line {
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }
}

/* New Language Selection Styles */
.language-option-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.language-option-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.language-option-current, 
.language-option-suggested {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-option-current {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left: 3px solid var(--primary-color);
}

.language-option-suggested {
    background-color: rgba(var(--accent-rgb), 0.05);
    border-left: 3px solid var(--accent-color);
}

.language-option-current:hover,
.language-option-suggested:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.language-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.language-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.language-label {
    display: inline-block;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.language-label.current {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.language-label.suggested {
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-color);
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.switcher-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.language-option-container:hover .switcher-arrow {
    transform: translateX(5px);
}

/* Dark Mode Styles */
.dark-mode .language-option-container {
    background-color: var(--bg-dark-secondary);
}

.dark-mode .language-option-current {
    background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .language-option-suggested {
    background-color: rgba(var(--accent-rgb), 0.15);
}

.dark-mode .language-details h3 {
    color: var(--text-color-dark);
}

.dark-mode .language-label.current {
    background-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color-dark);
}

.dark-mode .language-label.suggested {
    background-color: rgba(var(--accent-rgb), 0.2);
    color: var(--accent-color-dark);
}

/* Responsive Styles */
@media (max-width: 576px) {
    .language-option-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-option-current, 
    .language-option-suggested {
        width: 100%;
    }
    
    .language-switcher {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .language-option-container:hover .switcher-arrow {
        transform: translateY(5px);
    }
}

/* Responsive Styles for Language Selection */
@media (max-width: 576px) {
    .language-option-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .language-option-current, 
    .language-option-suggested {
        width: 100%;
        border-left: none;
        border-top: 3px solid;
    }
    
    .language-option-current {
        border-top-color: var(--primary-color);
    }
    
    .language-option-suggested {
        border-top-color: var(--accent-color);
    }
    
    .language-switcher {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .language-option-container:hover .switcher-arrow {
        transform: translateY(5px);
    }
    
    .language-details h3 {
        font-size: 1.3rem;
    }
}

/* Mobile Responsive Styles for Language Selector */
@media (max-width: 576px) {
    .language-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .language-modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 85vh;
        border-radius: 10px;
    }
    
    .language-option {
        padding: 12px;
    }
    
    .language-flag {
        width: 30px;
        height: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 1rem 1rem;
    }
    
    .modal-buttons button {
        width: 100%;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .language-info h4 {
        font-size: 0.95rem;
    }
    
    .language-info p {
        font-size: 0.85rem;
    }
}

.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    background-color: var(--card-bg);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
    filter: grayscale(20%) contrast(0.9);
    transition: all 0.5s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

.dark-mode .map-section h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-mode .map-container {
    border-color: var(--border-color);
    background-color: var(--card-bg);
}

/* Fix for contact form map section */
.contact-form .map-section,
.contact-form .map-container {
    display: none; /* Remove incorrect nested styles */
}

/* Fix for contact form layout */
.contact-form {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    width: 100%;
}

/* Fix for form elements */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--input-bg);
    color: var(--text-color);
}

/* Fix for dark mode form elements */
.dark-mode .contact-form .form-group input,
.dark-mode .contact-form .form-group select,
.dark-mode .contact-form .form-group textarea {
    background-color: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* Fix for mobile layout */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    .contact-form .checkbox-group {
        padding: 1rem;
    }
}

/* Add missing animation keyframes */
@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Improved error management styles */
.contact-form .form-group.error label {
    color: #dc2626;
}

.contact-form .form-group.error input,
.contact-form .form-group.error select,
.contact-form .form-group.error textarea {
    border-color: #dc2626;
    background-color: rgba(239, 68, 68, 0.05);
}

.contact-form .error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

/* Fix for social links in contact page */
.contact-info .social-links {
    margin-top: 1.5rem;
    text-align: center;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Improved Error Management for Contact Form */
.form-group.has-error label.error-label {
    color: #dc2626;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc2626;
    background-color: rgba(220, 38, 38, 0.05);
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.checkbox-group.has-error {
    color: #dc2626;
}

/* Fix for contact-info social links layout */
.contact-info .social-links {
    margin-top: 1.5rem;
    text-align: center;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info .social-links a {
    margin: 0;
}

.contact-info .social-links .icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info .social-links .icon-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Fix for contact grid layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .language-grid {
        grid-template-columns: 1fr;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Fix for language selector modal on mobile */
@media (max-width: 576px) {
    .language-selector-content {
        width: 90%;
        max-width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        margin: 10vh auto;
    }
    
    .language-option {
        padding: 0.75rem;
    }
    
    .language-flag img {
        width: 30px;
        height: auto;
    }
    
    .language-info h3 {
        font-size: 0.9rem;
    }
    
    .language-info p {
        font-size: 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Required field indicator for privacy checkbox */
.checkbox-group label::after {
    content: " *";
    color: #dc2626;
    font-weight: bold;
}

.checkbox-group.has-error label {
    color: #dc2626;
}

/* Enhanced error styling for checkbox group */
.checkbox-group.has-error {
    background-color: rgba(220, 38, 38, 0.05);
    border-radius: 4px;
    padding: 10px;
    border-left: 3px solid #dc2626;
}

.checkbox-group .error-message {
    display: block;
    margin-top: 10px;
    margin-left: 0;
    clear: both;
    color: #dc2626;
    font-size: 0.9rem;
    line-height: 1.2;
    position: static;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .checkbox-group .error-message {
        margin-top: 8px;
        padding-left: 0;
        font-size: 0.85rem;
    }
}

/* Required fields note */
.required-fields-note {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #3b82f6;
}

.dark-mode .required-fields-note {
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: #3b82f6;
}

.required-fields-note i {
    margin-right: 8px;
    color: #3b82f6;
}

.required-fields-note span {
    font-style: italic;
}

/* Cookie Banner Styles - Improved */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
    border-radius: 16px;
    padding: 1.75rem;
    z-index: 99999;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-banner-icon {
    font-size: 2.25rem;
    color: var(--primary-color, #2563eb);
    animation: cookieWiggle 3s infinite ease-in-out;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
}

@keyframes cookieWiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.35rem;
    color: var(--heading-color, #1e293b);
    font-weight: 600;
    line-height: 1.2;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color, #475569);
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-banner-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: auto;
    justify-content: center;
}

.cookie-banner-btn i {
    font-size: 1rem;
}

.cookie-banner-btn.accept-all {
    background: var(--primary-color, #2563eb);
    color: white;
    border: 2px solid var(--primary-color, #2563eb);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.cookie-banner-btn.accept-necessary {
    background-color: transparent;
    border: 2px solid var(--border-color, #e2e8f0);
    color: var(--text-color, #475569);
}

.cookie-banner-btn.customize {
    background-color: transparent;
    color: var(--primary-color, #2563eb);
    text-decoration: underline;
    border: none;
    padding: 0.75rem 1rem;
}

.cookie-banner-btn:hover {
    transform: translateY(-2px);
}

.cookie-banner-btn.accept-all:hover {
    background-color: var(--primary-color-dark, #1d4ed8);
    border-color: var(--primary-color-dark, #1d4ed8);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cookie-banner-btn.accept-necessary:hover {
    background-color: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color, #2563eb);
}

.cookie-banner-btn.customize:hover {
    color: var(--primary-color-dark, #1d4ed8);
}

/* Dark mode styles */
.dark-mode .cookie-banner {
    background-color: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .cookie-banner-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .cookie-banner-icon {
    background: rgba(59, 130, 246, 0.15);
}

.dark-mode .cookie-banner-text h3 {
    color: #f8fafc;
}

.dark-mode .cookie-banner-text p {
    color: #cbd5e1;
}

.dark-mode .cookie-banner-btn.accept-necessary {
    border-color: #334155;
    color: #cbd5e1;
}

.dark-mode .cookie-banner-btn.accept-necessary:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color, #3b82f6);
}

/* Mobile styles */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        padding: 1.25rem;
        max-width: 100%; /* Wichtig für mobile Anzeige */
        transform: translateY(100%); /* Starte unterhalb des Bildschirms */
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.25rem;
        align-items: center;
        text-align: center;
        padding-bottom: 0.75rem;
    }
    
    .cookie-banner-icon {
        margin-bottom: 0.5rem;
        animation: none; /* Entferne Animation auf mobil für bessere Performance */
    }
    
    .cookie-banner-actions {
        justify-content: center;
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .cookie-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
        margin-bottom: 0.25rem;
    }

    .cookie-banner-btn.customize {
        order: 3; /* Setze "Einstellungen" an letzte Stelle */
        width: auto;
        margin: 0 auto;
        padding: 0.5rem 0;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .cookie-banner-text p {
        text-align: center;
    font-size: 0.9rem;
    }
}

/* Cookie confirmation message */
.cookie-confirmation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 300px;
    text-align: center;
}

.cookie-confirmation.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-confirmation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cookie-confirmation i {
    font-size: 1.25rem;
}

.cookie-confirmation p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Bestätigungsdialog */
.confirmation-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background-color: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 420px;
    width: 90%;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.confirmation-dialog.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.confirmation-dialog-content {
    text-align: center;
}

.confirmation-dialog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
}

.confirmation-dialog-icon i {
    font-size: 1.75rem;
    color: #f97316;
}

.confirmation-dialog h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: var(--heading-color, #1e293b);
    font-weight: 600;
}

.confirmation-dialog p {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-color, #475569);
    line-height: 1.5;
}

.confirmation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirmation-buttons button {
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
    max-width: 150px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.confirmation-buttons .cancel-button {
    background-color: #f1f5f9;
    color: #64748b;
}

.confirmation-buttons .cancel-button:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.confirmation-buttons .confirm-button {
    background-color: #f97316;
    color: white;
}

.confirmation-buttons .confirm-button:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(249, 115, 22, 0.25);
}

.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.confirmation-overlay.show {
    opacity: 1;
    visibility: visible;
}

.dark-mode .confirmation-dialog {
    background-color: #1e293b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .confirmation-dialog-icon {
    background-color: rgba(249, 115, 22, 0.2);
}

.dark-mode .confirmation-dialog h3 {
    color: #f8fafc;
}

.dark-mode .confirmation-dialog p {
    color: #cbd5e1;
}

.dark-mode .confirmation-buttons .cancel-button {
    background-color: #334155;
    color: #cbd5e1;
}

.dark-mode .confirmation-buttons .cancel-button:hover {
    background-color: #475569;
}

.cookie-confirmation p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Cookie Settings Modal - Improved */
.cookie-settings-content {
    max-width: 700px;
    padding: 2rem;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(37, 99, 235, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-body {
    margin-bottom: 1.75rem;
    overflow-y: auto;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-option {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.cookie-details {
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    background-color: rgba(248, 250, 252, 0.8);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-details.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.cookie-details h4 {
    font-size: 1rem;
    color: var(--heading-color, #1e293b);
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.cookie-details h4::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color, #2563eb);
    margin-right: 8px;
}

.cookie-details ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    list-style-type: none;
}

.cookie-details li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.cookie-details li::before {
    content: "•";
    color: var(--primary-color, #2563eb);
    position: absolute;
    left: -1rem;
    font-weight: bold;
}

.dark-mode .cookie-details {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: #334155;
    color: #94a3b8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark-mode .cookie-details h4 {
    color: #e2e8f0;
}

.dark-mode .cookie-details h4::before {
    background-color: #60a5fa;
}

.dark-mode .cookie-details li::before {
    color: #60a5fa;
}

.cookie-details-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--primary-color, #2563eb);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.cookie-details-trigger:hover {
    color: var(--primary-color-dark, #1d4ed8);
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-option-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading-color, #1e293b);
}

.cookie-option p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color, #475569);
}

.cookie-switch {
    display: flex;
    align-items: center;
}

.cookie-switch input[type="checkbox"] {
    position: relative;
    width: 3.5em;
    height: 1.75em;
    appearance: none;
    background-color: #e2e8f0;
    border-radius: 1em;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.cookie-switch input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4);
}

.cookie-switch input[type="checkbox"]:checked {
    background-color: var(--primary-color, #2563eb);
}

.cookie-switch input[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 0.2em;
    top: 50%;
    transform: translateY(-50%);
    width: 1.35em;
    height: 1.35em;
    border-radius: 50%;
    box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.2);
    background-color: #fff;
    transition: transform 0.3s, background-color 0.3s;
}

.cookie-switch input[type="checkbox"]:checked::before {
    transform: translate(1.75em, -50%);
}

.cookie-switch.disabled input[type="checkbox"] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-switch.necessary input[type="checkbox"]:checked {
    background-color: #10b981; /* Grün für notwendige Cookies */
}

.cookie-switch.preferences input[type="checkbox"]:checked {
    background-color: #3b82f6; /* Blau für Präferenz-Cookies */
}

.cookie-switch.analytics input[type="checkbox"]:checked {
    background-color: #8b5cf6; /* Lila für Analytics-Cookies */
}

.cookie-switch.marketing input[type="checkbox"]:checked {
    background-color: #f97316; /* Orange für Marketing-Cookies */
}

.cookie-switch label {
    margin-left: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-color, #475569);
    cursor: pointer;
}

.cookie-switch .switch-status {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cookie-switch .switch-status.on {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.cookie-switch .switch-status.off {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dark-mode .cookie-switch .switch-status.on {
    background-color: rgba(16, 185, 129, 0.2);
}

.dark-mode .cookie-switch .switch-status.off {
    background-color: rgba(239, 68, 68, 0.2);
}

/* Modal Button Styles */
.modal-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    width: 100%;
}

.modal-buttons .btn {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

/* Custom scrollbar for cookie settings */
.cookie-settings-content::-webkit-scrollbar {
    width: 12px;
    margin-right: 0;
    position: absolute;
    right: 0;
}

.cookie-settings-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.cookie-settings-content::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 6px;
    border: 2px solid #f1f5f9;
}

.cookie-settings-content::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Dark Mode Scrollbar */
.dark-mode ::-webkit-scrollbar-track {
  background: #1e293b;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border: 2px solid #1e293b;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Cookie-Settings beibehalten aber mit blauer Farbe */
.cookie-settings-content::-webkit-scrollbar {
  width: 10px;
}

.cookie-settings-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.cookie-settings-content::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
}

.cookie-settings-content::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-track {
  background: #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border: 2px solid #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Dark Mode Styles */
.dark-mode .cookie-details-trigger {
    background-color: #334155;
    border-color: #475569;
    color: #60a5fa;
}

.dark-mode .cookie-details-trigger:hover {
    background-color: #1e293b;
    color: #93c5fd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-track {
    background: #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb {
    background: #475569;
    border: 2px solid #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.dark-mode .cookie-settings-content {
    background-color: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dark-mode .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .cookie-option {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .cookie-option:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .cookie-option-header h3 {
    color: #f8fafc;
}

.dark-mode .cookie-option p {
    color: #cbd5e1;
}

.dark-mode .cookie-switch label {
    color: #cbd5e1;
}

.dark-mode .cookie-switch input[type="checkbox"] {
    background-color: #334155;
}

.dark-mode .cookie-switch input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.dark-mode .cookie-settings-body p {
    color: #cbd5e1;
}

.dark-mode .modal-buttons .secondary-button {
    color: #cbd5e1;
    border-color: #334155;
}

.dark-mode .modal-buttons .secondary-button:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color, #3b82f6);
    color: var(--primary-color, #3b82f6);
}

/* Responsive Styles for Cookie Settings Modal */
@media (max-width: 576px) {
    .cookie-settings-content {
        padding: 1.5rem;
        max-width: 90%;
        margin: 5% auto;
    }
    
    .cookie-options {
        gap: 1rem;
    }

    .cookie-option {
        padding: 1.25rem;
    }

    .cookie-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cookie-option-header h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
    
    .cookie-details ul {
        padding-left: 1.25rem;
    }
    
    .cookie-details li {
        margin-bottom: 0.75rem;
    }
    
    .cookie-switch {
        width: 100%;
        justify-content: space-between;
    }
}

/* Modal Button Styles */
.modal-buttons .primary-button {
    background-color: var(--primary-color, #2563eb);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.15);
}

.modal-buttons .primary-button:hover {
    background-color: var(--primary-color-dark, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
}

.modal-buttons .secondary-button {
    background-color: transparent;
    color: var(--text-color, #475569);
    border: 2px solid var(--border-color, #e2e8f0);
}

.modal-buttons .secondary-button:hover {
    background-color: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color, #2563eb);
    color: var(--primary-color, #2563eb);
    transform: translateY(-2px);
}

.cookie-details-trigger i {
    transition: transform 0.3s ease;
}

.cookie-details-trigger.active i {
    transform: rotate(180deg);
}

/* Blaue Scrollbar-Anpassung für die Hauptscrollbar */
::-webkit-scrollbar {
  width: 12px;
  margin-right: 0;
  position: absolute;
  right: 0;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 6px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Dark Mode Scrollbar */
.dark-mode ::-webkit-scrollbar-track {
  background: #1e293b;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border: 2px solid #1e293b;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Cookie-Settings spezifische Scrollbar */
.cookie-settings-content::-webkit-scrollbar {
  width: 10px;
}

.cookie-settings-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.cookie-settings-content::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
}

.cookie-settings-content::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-track {
  background: #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb {
  background: #60a5fa;
  border: 2px solid #1e293b;
}

.dark-mode .cookie-settings-content::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Scrollbar-Verbesserungen für Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #f1f5f9;
}

.dark-mode {
  scrollbar-color: #60a5fa #1e293b;
}
