/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
    /* Light Theme */
    --bg-color: #f8f9fa;
    --bg-secondary-color: #ffffff;
    --text-color: #1a1a2e;
    --text-muted-color: #6c757d;
    --border-color: #e9ecef;
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: rgba(67, 97, 238, 0.1);
    
    /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    
    /* Effects */
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

.theme-dark {
    /* Dark Theme */
    --bg-color: #1a1a2e;
    --bg-secondary-color: #24243e;
    --text-color: #f8f9fa;
    --text-muted-color: #a9a9c4;
    --border-color: #3a3a5a;
}

/* === BASE STYLES === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
section { padding: 80px 8%; position: relative; }

/* === BUTTON & HELPER CLASSES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: white; }

/* === HEADER === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}
#header.scrolled {
    background-color: var(--bg-secondary-color);
    box-shadow: var(--shadow-md);
    padding: 15px 8%;
}
.logo { font-size: 1.8rem; font-weight: 700; font-family: var(--font-heading); }
.logo span { color: var(--primary-color); }
#nav ul { display: flex; gap: 30px; }
#nav a { font-weight: 500; position: relative; }
#nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
#nav a:hover::after, #nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    position: relative;
    width: 24px;
    height: 24px;
}
.theme-btn .fa-sun { display: none; }
.theme-dark .theme-btn .fa-sun { display: block; }
.theme-dark .theme-btn .fa-moon { display: none; }
.menu-toggle { display: none; cursor: pointer; font-size: 24px; z-index: 1001; }


/* === MODERN HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 8% 80px;
    background-color: var(--bg-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    filter: blur(60px);
    opacity: 0.6;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.15;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
    background: linear-gradient(135deg, var(--primary-color), rgba(67, 97, 238, 0.5));
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    background: linear-gradient(45deg, var(--primary-color), rgba(67, 97, 238, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(67, 97, 238, 0.2);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-line {
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted-color);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-hero:hover svg {
    transform: translateX(3px);
}

.btn-secondary.btn-hero:hover svg {
    transform: translateY(3px);
}


/* === SECTION TITLE === */
.section-title { text-align: center; margin-bottom: 50px; }
.section-label { color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; display: block; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* === SERVICES SECTION === */
#services { background-color: var(--bg-secondary-color); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--text-muted-color); font-size: 0.95rem; }





/* === MODERN SERVICES SECTION === */
.services-modern {
    background-color: var(--bg-secondary-color);
    position: relative;
    overflow: hidden;
}

.services-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
    font-size: 1.1rem;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.service-card-modern {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon-modern {
    font-size: 2.5rem;
    color: var(--primary-color);
    padding: 30px 30px 0;
    transition: var(--transition);
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1);
}

.service-content-modern {
    padding: 20px 30px;
    flex-grow: 1;
}

.service-content-modern h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.service-content-modern h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.service-card-modern:hover .service-content-modern h3::after {
    width: 60px;
}

.service-content-modern p {
    color: var(--text-muted-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.service-features li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-cta {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 30px 30px;
    border-radius: 6px;
}

.service-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: #28a745;
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
    width: 120px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.services-cta-modern {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.services-cta-modern p {
    color: var(--text-muted-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .service-badge {
        right: -25px;
        width: 110px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-badge {
        right: -30px;
        width: 100px;
        padding: 3px 20px;
        font-size: 0.7rem;
    }
    
    .service-content-modern {
        padding: 20px;
    }
    
    .service-cta {
        margin: 0 20px 20px;
    }
}



/* === ABOUT SECTION === */
.about {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-label {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.about-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.about-header p {
    color: var(--text-muted-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}

.about-header p::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 25px auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--bg-secondary-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.about-card:hover h3::after {
    width: 60px;
}

.about-card p {
    color: var(--text-muted-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 60px 0;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-secondary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 100%);
    z-index: 0;
    opacity: 0;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-item:hover::before {
    opacity: 1;
}

.value-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.value-item:hover .value-icon {
    background: var(--primary-color);
    color: white;
}

.value-content {
    position: relative;
    z-index: 1;
}

.value-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.value-item:hover h4 {
    color: var(--primary-color);
}

.value-content p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    margin-top: 50px;
}

.about-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.2);
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsive Anpassungen */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .about-values {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 30px 25px;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
    
    .value-icon {
        margin-bottom: 15px;
    }
}

/* === VALUES SECTION === */
.about-values-alt {
    padding: 100px 8%;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header .section-label {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.values-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.values-header p {
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--bg-secondary-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.value-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), rgba(var(--primary-color-rgb), 0.8));
    border-radius: 50%;
    opacity: 0.1;
    transition: var(--transition);
}

.value-card:hover .value-icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    line-height: 80px;
    transition: var(--transition);
}

.value-card:hover i {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover h3::after {
    width: 60px;
}

.value-card p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.value-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), rgba(var(--primary-color-rgb), 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.value-card:hover .value-decoration {
    transform: scaleX(1);
}

.values-cta.minimalist {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.values-cta.minimalist p {
    color: var(--text-muted-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.btn-minimal {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 35px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-minimal:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values-alt {
        padding: 80px 5%;
    }
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }
.about-card:nth-child(4) { animation-delay: 0.4s; }
.about-card:nth-child(5) { animation-delay: 0.5s; }
.about-card:nth-child(6) { animation-delay: 0.6s; }

.value-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.value-item:nth-child(1) { animation-delay: 0.2s; }
.value-item:nth-child(2) { animation-delay: 0.3s; }
.value-item:nth-child(3) { animation-delay: 0.4s; }
.value-item:nth-child(4) { animation-delay: 0.5s; }
.value-item:nth-child(5) { animation-delay: 0.6s; }
.value-item:nth-child(6) { animation-delay: 0.7s; }

/* Füge dies zu deinen CSS-Variablen hinzu */
:root {
    --primary-color-rgb: 67, 97, 238;
}

/* === MODERN CONTACT SECTION === */
.contact-modern {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    padding: 80px 5%;
}

.contact-container-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Formular Stile */
.contact-form-modern {
    background-color: var(--bg-secondary-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-header-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.form-header-modern p {
    color: var(--text-muted-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group-modern textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group-modern label {
    position: absolute;
    top: 18px;
    left: 50px;
    color: var(--text-muted-color);
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.form-group-modern .form-icon {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern input:not(:placeholder-shown),
.form-group-modern textarea:not(:placeholder-shown) {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group-modern input:focus + label,
.form-group-modern textarea:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--bg-secondary-color);
    padding: 0 5px;
    z-index: 1;
}

.form-group-modern input:focus ~ .form-icon,
.form-group-modern textarea:focus ~ .form-icon,
.form-group-modern input:not(:placeholder-shown) ~ .form-icon,
.form-group-modern textarea:not(:placeholder-shown) ~ .form-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.form-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-submit-modern {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
}

.btn-submit-modern:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
}

.form-note {
    color: var(--text-muted-color);
    font-size: 0.85rem;
}

/* Kontaktinformationen Stile */
.contact-info-modern {
    background-color: var(--bg-secondary-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.info-card-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.info-card-modern > p {
    color: var(--text-muted-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods-modern {
    display: grid;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.contact-method-modern {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.contact-method-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.contact-method-modern.phone:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.contact-method-modern.whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.05);
    border-color: #25D366;
}

.contact-method-modern.email:hover {
    background-color: rgba(220, 53, 69, 0.05);
    border-color: #dc3545;
}

.method-icon-modern {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-modern.phone .method-icon-modern {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.contact-method-modern.whatsapp .method-icon-modern {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-method-modern.email .method-icon-modern {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.method-content-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.method-content-modern p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
}

.contact-hours-modern {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.contact-hours-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    font-size: 0.95rem;
}

.social-links-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Google Maps Stile */
.map-container-modern {
    height: 400px;
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.map-container-modern iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(90%);
}

/* Responsive Anpassungen */
@media (min-width: 992px) {
    .contact-container-modern {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .form-grid-modern {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-modern,
    .contact-info-modern {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact-modern {
        padding: 60px 3%;
    }
    
    .contact-form-modern,
    .contact-info-modern {
        padding: 25px 20px;
    }
    
    .form-footer-modern {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .map-container-modern {
        height: 300px;
        margin-top: 40px;
    }
}

/* Animationen */
.contact-method-modern,
.form-group-modern,
.info-card-modern > *:not(:first-child) {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.contact-method-modern:nth-child(1) { animation-delay: 0.1s; }
.contact-method-modern:nth-child(2) { animation-delay: 0.2s; }
.contact-method-modern:nth-child(3) { animation-delay: 0.3s; }
.form-group-modern:nth-child(1) { animation-delay: 0.1s; }
.form-group-modern:nth-child(2) { animation-delay: 0.2s; }
.form-group-modern:nth-child(3) { animation-delay: 0.3s; }
.form-group-modern:nth-child(4) { animation-delay: 0.4s; }
.form-group-modern.full-width { animation-delay: 0.5s; }
.info-card-modern > *:nth-child(2) { animation-delay: 0.1s; }
.info-card-modern > *:nth-child(3) { animation-delay: 0.2s; }
.info-card-modern > *:nth-child(4) { animation-delay: 0.3s; }
.info-card-modern > *:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* === FOOTER === */

footer {
    background-color: ar(--bg-secondary-color);
    padding: 60px 8% 20px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted-color);
    font-size: 0.9rem;
}

/* === MODAL STYLES === */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); display: none; justify-content: center; align-items: center; z-index: 10000; backdrop-filter: blur(5px); }
.modal-content { background-color: var(--bg-secondary-color); padding: 40px; border-radius: var(--border-radius); max-width: 500px; width: 90%; text-align: center; box-shadow: var(--shadow-lg); animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-icon { font-size: 60px; margin-bottom: 20px; }
.modal-icon .success-icon { color: #28a745; }
.modal-icon .error-icon { color: #dc3545; }
.modal-title { font-size: 1.8rem; margin-bottom: 15px; }
.modal-message { margin-bottom: 20px; color: var(--text-muted-color); }
.modal-timestamp { font-size: 0.8rem; color: var(--text-muted-color); opacity: 0.7; }
.modal-button { margin-top: 25px; width: 120px; }

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    .about-container, .contact-container { grid-template-columns: 1fr; }
    .about-text { text-align: center; }
    .benefits-list { text-align: left; }
    .about-visual { margin-top: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-secondary-color);
        box-shadow: var(--shadow-lg);
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #nav.active { right: 0; }
    #nav ul { flex-direction: column; gap: 40px; text-align: center; }
    #nav a { font-size: 1.5rem; }
    .contact-container { padding: 30px; }
}

@media (max-width: 576px) {
    .hero-buttons { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
}

/* === GUARANTEE SECTION === */
.guarantee {
    background-color: var(--bg-color);
}

.guarantee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.guarantee-text {
    padding-right: 40px;
}

.guarantee-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.guarantee-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: var(--bg-secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted-color);
}

@media (max-width: 992px) {
    .guarantee-content {
        grid-template-columns: 1fr;
    }
    
    .guarantee-text {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}





/* === TEAM SECTION === */
.team {
    background-color: var(--bg-secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-muted-color);
    margin-bottom: 1.5rem;
}

.team-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.team-contact i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ===== MODERN COOKIE CONSENT ===== */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary-color);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.5s ease;
    will-change: transform, opacity;
    border-top: 1px solid var(--border-color);
}

#cookie-consent-banner.active {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-muted-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: var(--primary-dark);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
}

#accept-all-cookies {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.1);
}

#accept-all-cookies:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.15);
}

#accept-necessary-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

#accept-necessary-cookies:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#cookie-settings-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

#cookie-settings-btn:hover {
    background-color: var(--primary-light);
}

/* Cookie Modal Styles */
#cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-settings-modal.active {
    display: flex;
    opacity: 1;
}

.cookie-settings-content {
    background-color: var(--bg-secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-settings-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted-color);
    transition: color 0.2s ease;
}

.cookie-settings-close:hover {
    color: var(--primary-color);
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:disabled + .slider {
    background-color: #ddd;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Responsive Anpassungen */
@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-consent-actions {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }
    
    .cookie-btn {
        flex: 0 1 auto;
    }
}

/* WhatsApp Button Styles */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 15px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}




.legal-section {
    padding: 60px 5% 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-section h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.legal-section h2 {
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
    color: var(--primary-color);
}

.legal-section h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem;
}

.legal-section p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.last-update {
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .legal-section {
        padding: 40px 5% 30px;
    }
    
    .legal-section h1 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
        margin: 1.8rem 0 0.7rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .legal-section h1 {
        font-size: 1.4rem;
    }
    
    .legal-section h2 {
        font-size: 1.1rem;
    }
    
    .legal-section p {
        font-size: 0.85rem;
    }
}





/* Für Dark Mode */
.theme-dark .logo img {
    filter: brightness(0) invert(1);
}

/* === PROJECTS SECTION === */
#projects {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background-color: var(--bg-secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(var(--primary-color-rgb), 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tech span {
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.project-card:hover .project-content h3::after {
    width: 60px;
}

.project-content p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

.project-link i {
    transition: var(--transition);
    font-size: 0.8rem;
}

.project-link:hover {
    color: var(--primary-dark);
}

.project-link:hover i {
    transform: translateX(3px);
}

.projects-cta {
    text-align: center;
    margin-top: 40px;
}

.projects-cta p {
    color: var(--text-muted-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Animationen */
.project-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 220px;
    }
}

/* === MODERN MODAL STYLES === */
.modal-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-modern.active {
    display: flex;
    opacity: 1;
}

.modal-content-modern {
    background-color: var(--bg-secondary-color);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.modal-modern.active .modal-content-modern {
    transform: translateY(0);
}

.request-wizard-trigger {
    margin-top: 16px;
}

.header-wizard-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 999px;
}

@media (max-width: 992px) {
    .header-wizard-btn {
        display: none;
    }
}

.request-wizard-modal .modal-message-modern {
    margin-bottom: 14px;
}

.request-wizard-content {
    position: relative;
    max-width: 680px;
    width: 92%;
    text-align: left;
}

.request-wizard-close {
    position: absolute;
    right: 16px;
    top: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted-color);
    font-size: 1.8rem;
    cursor: pointer;
}

.request-wizard-progress {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 18px;
}

.request-wizard-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wizard-step {
    display: none;
    gap: 14px;
}

.wizard-step.active {
    display: grid;
}

.wizard-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wizard-field label {
    font-weight: 600;
    font-size: 0.95rem;
}

.wizard-field input,
.wizard-field select,
.wizard-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
}

.wizard-field textarea {
    min-height: 96px;
    resize: vertical;
}

.website-followup {
    display: none;
}

.request-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

#wizardSubmitBtn {
    display: none;
}

.modal-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-icon-modern.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.modal-icon-modern svg {
    width: 48px;
    height: 48px;
}

.modal-title-modern {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.modal-message-modern {
    color: var(--text-muted-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-details-modern {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.detail-item .timestamp,
.detail-item .email {
    font-weight: 600;
    color: var(--text-color);
}

.modal-button-modern {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
}

.modal-button-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
}

/* Animationen */
@keyframes checkmarkAnim {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-icon-modern svg {
    animation: checkmarkAnim 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .modal-content-modern {
        padding: 30px;
    }

    .request-wizard-content {
        padding: 24px;
    }

    .request-wizard-actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .request-wizard-actions .btn {
        flex: 1;
        min-width: 120px;
    }
    
    .modal-title-modern {
        font-size: 1.5rem;
    }
    
    .modal-message-modern {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content-modern {
        padding: 25px 20px;
    }
    
    .modal-icon-modern {
        width: 60px;
        height: 60px;
    }
    
    .modal-icon-modern svg {
        width: 36px;
        height: 36px;
    }
    
    .modal-details-modern {
        padding: 15px;
    }
}

/* === AI CHAT WIDGET === */
.ai-chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10020;
}

.ai-chat-toggle {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.ai-chat-toggle:hover {
    background-color: var(--primary-dark);
}

.ai-chat-panel {
    display: none;
    width: 340px;
    max-width: calc(100vw - 32px);
    background-color: var(--bg-secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 10px;
}

.ai-chat-panel.active {
    display: block;
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

.ai-chat-header h3 {
    margin: 0;
    font-size: 1rem;
}

.ai-chat-header button {
    border: none;
    background: transparent;
    color: var(--text-muted-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.ai-chat-messages {
    height: 290px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--bg-color);
}

.ai-chat-message {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.45;
    font-size: 0.92rem;
}

.ai-chat-message.user {
    align-self: flex-end;
    background: var(--primary-color);
    color: #fff;
}

.ai-chat-message.bot {
    align-self: flex-start;
    background: var(--bg-secondary-color);
    border: 1px solid var(--border-color);
}

.ai-chat-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.ai-chat-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .ai-chat-widget {
        right: 12px;
        bottom: 12px;
    }

    .ai-chat-toggle span {
        display: none;
    }

    .ai-chat-toggle {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
}