/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c5aa0;
}

.logo {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2c5aa0;
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e55a2b;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* Sections */
.services-section,
.goals-section,
.success-section,
.employees-section,
.contact-preview {
    padding: 80px 0;
}

.services-section {
    background: #f8f9fa;
}

.goals-section {
    background: white;
}

.success-section {
    background: #f8f9fa;
}

.employees-section {
    background: white;
}

.contact-preview {
    background: #2c5aa0;
    color: white;
}

/* Section Headings */
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c5aa0;
}

.contact-preview h2 {
    color: white;
}

/* Grids */
.services-grid,
.goals-content,
.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item,
.goal-item,
.employee-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover,
.goal-item:hover,
.employee-item:hover {
    transform: translateY(-5px);
}

.service-icon,
.goal-icon,
.employee-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Success Stats */
.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #2c5aa0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2c5aa0;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #666;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
}

.contact-cta {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #2c5aa0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2c5aa0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 30px;
    height: 30px;
}

.footer-cookie-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.footer-cookie-btn:hover {
    background: #1e3f73;
}

/* Legal content styles */
.page-hero {
    background: #2c5aa0;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.legal-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    color: #2c5aa0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: left;
}

.legal-text h3 {
    color: #2c5aa0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-box, .impressum-box, .contact-info-box, .responsibility-box, .cookie-category-box {
    background: white;
    padding: 20px;
    border-left: 4px solid #2c5aa0;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.last-updated {
    margin-top: 40px;
    font-style: italic;
    color: #666;
    text-align: center;
}

.cookie-settings-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin: 20px 0;
    transition: background 0.3s ease;
}

.cookie-settings-btn:hover {
    background: #1e3f73;
}

.cookie-settings-section {
    text-align: center;
    margin: 30px 0;
}

/* Thanks page styles */
.thanks-section {
    background: #f8f9fa;
    padding: 100px 0;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.thanks-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.step-item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.thanks-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #1e3f73;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Contact form styles */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkmark {
    display: none;
}

.submit-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #1e3f73;
}

/* Service detail styles */
.services-detail-section {
    padding: 60px 0;
}

.service-detail {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-detail h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
    text-align: left;
}

.service-detail ul {
    margin-top: 20px;
    padding-left: 20px;
}

.service-detail li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cta-section {
    background: #2c5aa0;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

/* Team page styles */
.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.team-member {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.team-role {
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 15px;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.specialty {
    background: #2c5aa0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.team-qualifications {
    background: #f8f9fa;
    padding: 50px 30px;
    border-radius: 10px;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.qualification-item {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.qual-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* About page styles */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.why-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .goals-content,
    .employees-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}