/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #28a745;
    --accent-color: #f8f9fa;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #003d7a;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--accent-color);
}

.bg-primary {
    background-color: var(--primary-color);
    color: white;
}

.light {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #003d7a;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #218838;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-color);
}

.language-switch a.active {
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Vorteile Section */
.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.vorteil-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.vorteil-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Anwendungsfelder Section */
.anwendungsfelder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.anwendungsfeld-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.anwendungsfeld-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.anwendungsfeld-card h3, .anwendungsfeld-card p {
    padding: 0 20px;
}

.anwendungsfeld-card h3 {
    margin-top: 20px;
}

.anwendungsfeld-card p {
    padding-bottom: 20px;
}

/* Pakete Section */
.pakete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.paket-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.paket-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

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

.paket-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.paket-header {
    background-color: var(--accent-color);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.paket-card.featured .paket-header {
    background-color: var(--primary-color);
    color: white;
}

.paket-subtitle {
    font-style: italic;
    opacity: 0.8;
}

.paket-content {
    padding: 20px;
}

.paket-features {
    list-style: none;
    margin-bottom: 20px;
}

.paket-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.paket-features i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.paket-card .btn {
    width: 100%;
}

/* Vorgehensweise Section */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: var(--primary-color);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    flex-grow: 1;
}

.discovery-call {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
}

.discovery-call-content {
    max-width: 600px;
    margin: 0 auto;
}

.discovery-call h3 {
    margin-bottom: 15px;
}

.discovery-call p {
    margin-bottom: 20px;
}

/* Expertise Section */
.expertise-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.expertise-text {
    flex: 2;
}

.expertise-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-weight: 600;
}

/* Kontakt Section */
.kontakt-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.kontakt-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000000;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
}

.kontakt-info {
    color: white;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 200px;
}

.footer-logo-img {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links-group h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: white;
}

.footer-links-group a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .expertise-content {
        flex-direction: column;
    }
    
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 20px;
    }
    
    .main-nav.active .nav-list {
        flex-direction: column;
    }
    
    .main-nav.active .nav-list li {
        margin: 10px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .vorteile-grid, .anwendungsfelder-grid, .pakete-grid {
        grid-template-columns: 1fr;
    }
    
    .paket-card.featured {
        transform: none;
    }
    
    .paket-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* Form validation styles */
.form-group.error input, .form-group.error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message-form {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
