/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 140px;
}

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

.logo a {
    display: block;
    line-height: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #545B7B;
}

.lang-toggle {
    border: 1px solid #545B7B;
    background: transparent;
    color: #545B7B;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    font-weight: 700;
}

.lang-toggle:hover {
    background: #545B7B;
    color: #fff;
}

.remote-support-header {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #545B7B;
    color: #545B7B;
    text-decoration: none;
    font-weight: 700;
}

.remote-support-header:hover {
    background: #545B7B;
    color: #fff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #8B92B5, #545B7B);
    color: white;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
}

.page-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.25rem;
}

.page-section h1,
.page-section h2 {
    color: #545B7B;
}

.page-section a {
    color: #545B7B;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-photo-wrap {
    margin: 0;
}

.about-photo {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.about-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

/* Services Grid */
#services {
    padding: 4rem 2rem;
}

#services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #545B7B;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Footer */
footer {
    background-color: #545B7B;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #E0E3F0;
}

/* Legal Pages */
.imprint {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #545B7B;
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-btn {
    background: #545B7B;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: #3E4255;
}

/* Logo Styles */
.logo-img {
    height: 120px !important;
    width: auto !important;
    max-height: none !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
}

/* Optional: Add hover effect */
.logo-img:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
    }

    .nav-links {
        padding: 0;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-toggle {
        margin-top: 0.25rem;
    }

    .remote-support-header {
        margin-top: 0.25rem;
    }

    .logo-img {
        height: 96px !important;
    }

    .about-layout {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}