:root {
    --blue-dark: #092143;
    --blue-light: #0066cc;
    --green: #2e7d32;
    --bg-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Aktiviert das automatische, sanfte Gleiten der Seite */
}

body {
    background-color: #ffffff !important;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-logo {
    height: 130px;
    width: auto;
    display: block;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--blue-light);
}

.btn-phone {
    background: var(--blue-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.right-menu-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Hero Section */
.hero-section {
    display: flex;
    padding: 60px 8%;
    background: #ffffff;
    align-items: center;
    gap: 20px;
}

.hero-content {
    flex: 1.1;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 54px;
    color: var(--blue-dark);
    line-height: 1.1;
    font-weight: bold;
}

.blue-accent { color: var(--blue-light); }
.green-accent { color: var(--green); }

.slogan {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    color: var(--blue-dark);
}

.description {
    color: #444;
    line-height: 1.6;
    margin-bottom: 35px;
    font-size: 15px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.hero-image {
    flex: 1.4;
    display: flex;
    align-items: center; 
    gap: 0px;
    justify-content: flex-start;
}

.main-team-photo {
    width: 100%; 
    max-width: 530px; 
    height: auto;
    border-radius: 8px;
    display: block;
}

.side-badge {
    flex-shrink: 0; 
    margin-left: -40px; 
    position: relative;
    z-index: 5;
}

.side-badge img {
    height: 260px; 
    width: auto;
    display: block;
    object-fit: contain;
}

/* Sektionstitel */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--blue-dark);
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--green);
    margin: 10px auto 0 auto;
}

/* Leistungen Sektion */
.services-section, .about-section, .contact-section {
    padding: 80px 8%;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-box {
    background: #f8fafd;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--blue-light);
}

.service-box h3 {
    color: var(--blue-dark);
    margin-bottom: 10px;
    font-size: 18px;
}

.service-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* Über uns */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Unterer Bereich (Vorteile + Val) */
.bottom-container {
    display: flex !important; 
    flex-direction: row !important;
    padding: 80px 0px 0px 8% !important; 
    background: #ffffff;
    align-items: flex-end; 
    gap: 40px;
    overflow: hidden;
}

.features-left {
    flex: 1.4; 
    display: flex;
    flex-direction: column;
    gap: 45px; 
    padding-bottom: 40px;
}

.features-row-line {
    display: flex !important; 
    flex-direction: row !important;
    justify-content: space-between;
    gap: 20px;
}

.feature-item-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--blue-dark);
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--blue-dark);
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.feature-text p {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.blue-wave-card {
    flex: 1.6;
    background: var(--blue-dark) !important; 
    color: #ffffff !important;
    padding: 120px 40px 60px 80px; 
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    clip-path: ellipse(95% 100% at 95% 100%);
}

.blue-wave-card::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 100%;
    border-top: 6px solid var(--green);
    border-radius: 100% 0 0 0;
    pointer-events: none;
}

.wave-content {
    text-align: center; 
    width: 100%;
    z-index: 3;
}

.cursive-quote {
    font-style: italic;
    font-size: 25px; 
    font-family: 'Georgia', serif;
    color: white !important;
    line-height: 1.4;
}

.cursive-quote.second-line {
    margin-top: 5px;
}

.green-underline-decoration {
    width: 180px;
    height: 3px;
    background-color: var(--green);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Kontakt Formular Design */
.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fdfdfd;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--blue-light);
    outline: none;
}

.btn-submit {
    background: var(--blue-dark);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--blue-light);
}

/* Legal Footer */
.legal-footer {
    background: var(--blue-dark);
    color: #ccc;
    text-align: center;
    padding: 25px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

@media (max-width: 992px) {
    .navbar, .hero-section, .bottom-container, .features-row-line, .form-row {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .bottom-container {
        padding: 40px 5% !important;
    }
    .blue-wave-card {
        clip-path: none;
        border-radius: 20px;
        width: 100%;
        padding: 40px 20px;
        min-height: auto;
        margin-top: 20px;
    }
    .blue-wave-card::before {
        display: none;
    }
}

/* ==========================================================================
   STILURI GALERIE COMPLET FIXATE
   ========================================================================== */
.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Alinierea celor două containere mari */
.gallery-two-containers {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Le pune unul sub altul pe ecrane mici de telefon */
}

/* Cutia fiecărui container */
.gallery-box {
    position: relative;
    flex: 1;
    min-width: 300px; /* Lățimea minimă pe mobil */
    max-width: 550px; /* Lățimea maximă pe monitor */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Setări pentru fotografiile pe care le veți adăuga */
.gallery-box img {
    width: 100%;
    height: 350px; /* Înălțimea containerului foto */
    object-fit: cover; /* Imaginile se vor tăia frumos fără să se deformeze */
    display: block;
}

/* Etichetele de text de peste imagini */
.badge-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.badge-label.vorher {
    background-color: #e74c3c; /* Roșu pentru Înainte */
}

.badge-label.nachher {
    background-color: #2ecc71; /* Verde pentru După */
}
