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

body {
    font-family: 'Open Sans', '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;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px; /* Adjusted height for the new logo */
    width: auto;
}

.header-phone {
    margin-left: auto;
    margin-right: 2rem;
}

.header-phone .phone-number {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.header-phone .phone-number:hover,
.header-phone .phone-number:focus {
    color: #990000;
    outline: 2px solid transparent;
}

.nav {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link:focus {
    color: #990000;
    outline: 2px solid transparent;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #990000;
    outline-offset: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.btn-primary {
    background: #990000;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #7a0000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #990000;
    border: 2px solid #990000;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #990000;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-list {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-list li {
    padding: 0.5rem 0;
    font-size: 1.2rem;
    color: #475569;
    position: relative;
    padding-left: 2rem;
}

.hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 1rem;
    height: 1rem;
    background: #990000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-list li::after {
    content: "✓";
    position: absolute;
    left: 0.25rem;
    top: 0.6rem;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Awards Section */
.awards {
    background: #f1f5f9;
    padding: 60px 0;
}

.awards-content h2 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.awards-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #374151;
}

.awards-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #64748b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2rem;
    color: #990000;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.cta-section {
    background: #990000;
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f8fafc;
    padding: 80px 0;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: #990000;
}

/* Platforms Section */
.platforms {
    padding: 80px 0;
    background: #fff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.platform-item:hover,
.platform-item:focus-within {
    transform: translateY(-3px);
}

.platform-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stellenmarkt-info {
    background: #f1f5f9;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.stellenmarkt-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.stellenmarkt-info h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: #374151;
}

.fachstellenmaerkte {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.fachstellenmaerkte li {
    background: #990000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    background: #f8fafc;
    padding: 80px 0;
}

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

.step-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #990000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.video-container {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-cta {
    margin-top: 2rem;
}

/* About Section */
.about {
    background: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover,
.faq-question:focus {
    color: #990000;
    outline: 2px solid #990000;
    outline-offset: 2px;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #990000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #990000;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus {
    outline: 2px solid #990000;
    border-color: transparent;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: #990000;
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
    background: #7a0000;
    transform: translateY(-2px);
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Footer */
.footer {
    background: #474747;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover,
.footer-section a:focus {
    color: #990000;
    outline: 2px solid transparent;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
    transform: scale(1.1);
    background: #990000;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #990000;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0.5rem;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-cta {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-phone {
        display: none; /* Hide phone number on mobile for cleaner header */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        border: 2px solid #000;
        color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.error {color:#dc2626;}
.input-error{border-color: #dc2626;}