/* Palette: Bavarian Blue, Alpine White, Grey, Wood */
:root {
    --blue: #0066B2;
    --dark-blue: #004C8C;
    --white: #FFFFFF;
    --light-grey: #F0F4F8;
    --text: #333333;
    --border: #DDDDDD;
    
    --font-head: 'Barlow', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* Top Header */
.top-header { background: var(--blue); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.top-flex { display: flex; justify-content: space-between; }
.top-flex a { font-weight: 700; }

/* Main Header */
.main-header { padding: 20px 0; border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--text); }
.blue-pulse { color: var(--blue); }

.solid-nav a { margin-left: 25px; font-weight: 600; color: #555; text-transform: uppercase; font-size: 0.9rem; }
.solid-nav a:hover, .solid-nav a.active { color: var(--blue); border-bottom: 2px solid var(--blue); }

.mobile-toggle { display: none; background: transparent; border: 2px solid var(--blue); color: var(--blue); padding: 5px 12px; font-weight: 700; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--white); z-index: 2000; padding: 40px; box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; font-size: 1rem; color: #888; margin-bottom: 20px; cursor: pointer; }
.mobile-menu a { display: block; margin-bottom: 15px; font-weight: 700; font-size: 1.1rem; color: var(--text); }

@media (max-width: 900px) {
    .solid-nav { display: none; }
    .mobile-toggle { display: block; }
    .top-flex { flex-direction: column; text-align: center; font-size: 0.8rem; }
}

/* Hero */
.hero-solid { height: 75vh; position: relative; display: flex; align-items: center; text-align: center; justify-content: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 50, 90, 0.6); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; }

.sub-head { font-weight: 700; letter-spacing: 2px; font-size: 0.9rem; background: rgba(255,255,255,0.2); padding: 5px 10px; border-radius: 4px; }
.hero-content h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.1; margin: 20px 0; font-weight: 700; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #E0E0E0; }

.hero-btns { display: flex; justify-content: center; gap: 20px; }
.btn-primary { background: var(--blue); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--dark-blue); }
.btn-white { background: var(--white); color: var(--blue); padding: 15px 35px; border-radius: 4px; font-weight: 700; }
.btn-white:hover { background: #f0f0f0; }

/* Services */
.section-title h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--text); margin-bottom: 15px; }
.pulse-line { width: 80px; height: 4px; background: var(--blue); margin: 0 auto 20px; border-radius: 2px; }
.pulse-line.left { margin: 0 0 30px 0; }
.text-center { text-align: center; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.service-card { background: var(--light-grey); padding: 40px 20px; text-align: center; border-radius: 8px; transition: 0.3s; border: 1px solid transparent; }
.service-card:hover { background: var(--white); border-color: var(--blue); box-shadow: 0 10px 20px rgba(0,0,0,0.05); transform: translateY(-5px); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 10px; color: var(--blue); }

/* Trust Strip */
.trust-strip { background: var(--blue); color: var(--white); padding: 40px 0; margin-top: 50px; text-align: center; }
.trust-strip h3 { font-family: var(--font-head); margin-bottom: 20px; font-size: 1.5rem; }
.trust-grid { display: flex; justify-content: space-around; font-weight: 700; font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 20px; }
.values-list { margin-top: 20px; padding-left: 20px; color: #555; }
.values-list li { margin-bottom: 10px; font-weight: 600; }
.about-img img { border-bottom: 5px solid var(--blue); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Projects */
.projects-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.p-img { height: 200px; background-size: cover; background-position: center; transition: 0.5s; }
.project-card:hover .p-img { transform: scale(1.05); }
.p-info { padding: 20px; }
.p-info h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 10px; color: var(--blue); }
.p-info p { font-style: italic; color: #666; margin-bottom: 15px; font-size: 0.9rem; }
.p-info strong { font-size: 0.8rem; color: #333; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; background: var(--light-grey); padding: 60px; border-radius: 12px; }
.contact-details h2 { font-family: var(--font-head); color: var(--blue); margin-bottom: 20px; }
.c-item { margin-top: 30px; }
.c-item strong { display: block; font-family: var(--font-head); margin-bottom: 5px; }

.bavaria-form .form-group { margin-bottom: 20px; }
.bavaria-form label { display: block; font-weight: 700; margin-bottom: 5px; font-size: 0.9rem; }
.bavaria-form input, .bavaria-form select, .bavaria-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); }
.btn-blue { background: var(--blue); color: var(--white); padding: 15px; width: 100%; border: none; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-blue:hover { background: var(--dark-blue); }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; }
.legal-doc h1 { font-family: var(--font-head); color: var(--blue); }

/* Footer */
.bavaria-footer { background: #333; color: #ccc; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-logo h4 { color: var(--white); font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 5px; }
.f-links a { color: #ccc; margin-left: 20px; }
.f-links a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; border-top: 1px solid #444; padding-top: 20px; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .service-grid, .trust-grid, .about-grid, .projects-row, .contact-card { grid-template-columns: 1fr; }
    .trust-grid { flex-direction: column; gap: 15px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .hero-btns { flex-direction: column; }
}