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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #ffffff;
}

/* CSS Variables for Brand Colors */
:root {
    --brand-blue: #34495E;
    --brand-gray: #2C3E50;
    --brand-accent: #3498DB;
    --brand-light: #F8F9FA;
    --white: #ffffff;
    --text-light: #7F8C8D;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

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

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-accent);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 3px;
    background-color: var(--brand-gray);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background-color: var(--white);
    border-top: 1px solid #E5E7EB;
    padding: 16px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-accent);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-gray) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-text-content {
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--brand-accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background-color: #2980B9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.profile-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    max-width: 300px;
}

/* Specific styling for Angebot page image */
.page-container .profile-image {
    max-width: 300px;
    width: 100%;
}

.page-container .profile-details {
    max-width: 400px;
}

/* Value Proposition */
.value-proposition {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: var(--brand-gray);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--brand-light);
    padding: 32px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--brand-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px 0 0;
    flex-shrink: 0;
}

.icon {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-gray);
    margin: 0;
    text-align: left;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
}

/* Experience Highlight */
.experience-highlight {
    padding: 80px 0;
    background-color: var(--brand-light);
}

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

.experience-badge {
    background-color: var(--brand-accent);
    color: var(--white);
    padding: 32px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 32px;
}

.badge-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 0px 0 38px;
    margin-bottom: -20px;
}

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

.footer-section h4 {
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    color: #BDC3C7;
    line-height: 1.6;
}

.footer-contact {
    color: #BDC3C7;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 32px;
    text-align: center;
    color: #BDC3C7;
}

/* Page Styles */
.page-container {
    padding: 80px 0;
    background-color: var(--white);
}

.page-header {
    text-align: center;
    margin-bottom: 64px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--brand-gray);
    margin-bottom: 32px;
}

.page-description {
    font-size: 1.25rem;
    color: var(--brand-gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Page Styles */
.specialization-section,
.services-section,
.about-section {
    margin-bottom: 64px;
    
}

.specialization-content,
.about-content {
    background-color: var(--brand-light);
    padding: 32px;
    border-radius: 12px;
    max-width: 1000px;
}

.specialization-text,
.about-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--brand-gray);
    text-align: justify;
}

.service-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Profile Page Styles */
.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

/* Angebot page specific layout */
.page-container .profile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image-section {
    text-align: center;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.profile-section {
    margin-bottom: 32px;
}

.profile-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

.profile-section-content {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--brand-gray);
    text-align: justify;
}

.competency-paragraph {
    margin-bottom: 16px;
}

/* Profile page specific styles */
.subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin: 24px 0 12px 0;
}

.profile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    text-align: justify !important;
    line-height: 1.6;
}

.specialization-text {
    text-align: justify !important;
}

.specialization-text li {
    text-align: justify !important;
}

.profile-list li::before {
    content: "•";
    color: var(--brand-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.references-list li {
    margin-bottom: 8px;
    font-weight: 500;
}

/* Full width competency section */
.competency-full-width {
    max-width: 730px;
    margin: 48px auto 0;
    text-align: justify;
}

/* Leistung page specific styles */
.leistung-page .container {
    max-width: 1000px;
}

/* Profil page specific styles */
.profil-page .container {
    max-width: 1000px !important;
    margin: 0 auto;
}

.profil-section {
    margin-bottom: 32px;
}

.profil-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
    line-height: 1.2;
}

.profil-content {
    background-color: var(--brand-light);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
}





/* Leistung page 2x2 service cards */
.leistung-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Angebot page small service cards */
.angebot-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.angebot-service-card {
    background-color: var(--brand-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.angebot-service-card:hover {
    transform: translateY(-4px);
}

.angebot-service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--brand-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.angebot-service-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.angebot-service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-gray);
    margin-bottom: 8px;
}

.angebot-service-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
    text-align: justify;
}

.cta-section {
    text-align: center;
    margin-top: 32px;
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--brand-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Contact Page Styles */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: justify;
    width: 100%;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--brand-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-details {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--brand-gray);
    margin-bottom: 4px;
}

.contact-role {
    color: var(--text-light);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: var(--brand-gray);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

.submit-button {
    background-color: var(--brand-accent);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.submit-button:hover:not(:disabled) {
    background-color: #2980B9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Impressum Page Styles */
.impressum-content {
    background-color: var(--brand-light);
    padding: 48px;
    border-radius: 12px;
}

.impressum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.impressum-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: -25px;
}

.impressum-title {
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: -25px;
    margin-top: 0px;
}

.impressum-text {
    color: var(--brand-gray);
    line-height: 1.6;
}

.impressum-text p {
    margin-bottom: 4px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: justify;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr 1fr;
    }
    

    
    .impressum-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .leistung-services-grid {
        grid-template-columns: 1fr;
    }
    
    .angebot-services {
        grid-template-columns: 1fr;
    }
    
    .value-proposition,
    .experience-highlight,
    .page-container {
        padding: 60px 0;
    }
    
    .impressum-content {
        padding: 32px 24px;
    }
    
    .profile-image {
        max-width: 280px;
        width: 100%;
        min-width: 200px;
    }
    
    .page-container .profile-image {
        max-width: 280px;
        width: 100%;
        min-width: 200px;
    }
    
    .profile-content {
        display: block;
        text-align: center;
    }
    
    .mobile-only {
        display: block;
        margin-bottom: 32px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-details {
        text-align: center;
    }
    
    .profile-section-content {
        font-size: 1rem;
        text-align: justify;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }
}
