:root {
    --primary-color: #1e3d5c;
    --secondary-color: #e6d5b8;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--primary-color);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo-container {
    margin: 0 auto;
    text-align: center;
}

.logo {
    max-height: 240px;
    width: auto;
    transition: var(--transition);
}
.logo-filiale {
  max-width: 100%;
  max-height: 100%;
  min-width: 100%;
  transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

main {
    flex: 1;
}

.hero {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 2rem;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

.companies {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.companies h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.companies h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.company-card {
    position: relative;
    background-color: rgba(var(--primary-color-rgb), 0.7);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.company-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    transition: var(--transition);
}

.company-card:hover h3 {
    transform: scale(1.05);
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
    border-radius: 8px;
    z-index: 1;
    transition: var(--transition);
}

.company-card:hover .company-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(255,255,255,0.2));
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}
.copyright {
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 80px;
    }
    
    .company-card {
        height: 150px;
    }
}