/* Grundlegende Variablen basierend auf dem Logo */
:root {
    --navy-blue: #162334;   /* Das Dunkelblau aus den Buchstaben E und T */
    --gold: #ad8f5a;        /* Das Gold aus der 1 und den Linien */
    --bg-color: #fcfcfc;    /* Ein sehr weiches Weiß als Hintergrund */
    --text-dark: #333333;
}

/* Reset & Typografie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; /* Ähnelt der Schriftart "ET SOLUTIONS" */
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigationsleiste */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

/* 1. Das Logo auf der linken Seite */
.logo-container {
    flex: 1; /* Reserviert den linken Bereich */
    display: flex;
    justify-content: flex-start;
}

.logo {
    height: 180px; /* Logo ist jetzt doppelt so groß */
    width: auto;
}

/* 2. Die Navigation exakt in der Mitte */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

/* 3. Unsichtbarer Platzhalter rechts, damit die Mitte auch wirklich die Mitte bleibt */
.navbar::after {
    content: "";
    flex: 1; /* Reserviert exakt denselben Platz wie das Logo auf der linken Seite */
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-contact {
    border: 2px solid var(--navy-blue);
    padding: 8px 20px;
    border-radius: 3px;
}

.nav-contact:hover {
    background-color: var(--navy-blue);
    color: #ffffff !important;
}

/* Hero Sektion */
.hero {
    padding: 100px 0;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 4px solid var(--navy-blue);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--navy-blue);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero .subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555555;
}

/* Button */
.btn-primary {
    display: inline-block;
    background-color: var(--navy-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold);
}

/* --- ANIMATIONEN --- */

/* Schwebender Slide-Effekt beim Laden der Seite */
.page-content {
    animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px); /* Startet leicht nach unten versetzt */
    }
    100% {
        opacity: 1;
        transform: translateY(0);    /* Endposition (schwebt sanft nach oben) */
    }
}

/* --- LEISTUNGEN SEKTION --- */

.services {
    padding: 80px 0;
    text-align: center;
}

/* Geänderte Farbe für die Seitenüberschrift */
.page-title {
    color: var(--gold); /* Nutzt das Gold aus dem Logo */
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.2rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Kachel-Layout für die Leistungs-Boxen */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--navy-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px); /* Die Karten schweben beim Hovern ebenfalls leicht nach oben */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #555555;
    font-size: 1rem;
}

/* --- KONTAKT SEKTION --- */

.contact-section {
    padding: 60px 0 100px 0;
}

/* Die Haupt-Karte, die sich an deinem Bild orientiert */
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Linke Spalte schmaler, rechte breiter */
    gap: 60px;
    margin-top: 40px;
    border-top: 4px solid var(--navy-blue); /* Dezenter Akzent oben */
}

/* Linke Spalte: Infos */
.contact-info h2 {
    color: var(--navy-blue);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.info-block {
    margin-bottom: 25px;
}

.info-block strong {
    display: block;
    color: var(--navy-blue);
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-block p {
    color: #555555;
    font-size: 0.95rem;
}

/* Rechte Spalte: Formular */
.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row input {
    flex: 1; /* Name und E-Mail teilen sich den Platz 50/50 */
}

/* Styling der Eingabefelder */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effekt, wenn man in ein Feld klickt */
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(173, 143, 90, 0.1);
}

.contact-form-wrapper button {
    align-self: flex-start; /* Button bleibt linksbündig unter dem Formular */
    padding: 15px 40px;
}

/* Responsives Design: Auf dem Smartphone werden die Spalten untereinander geschoben */
@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
    .form-row {
        flex-direction: column;
    }
}

/* --- ÜBER UNS SEKTION --- */

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Teilt den Bereich in zwei gleich große Hälften */
    gap: 60px;
    align-items: center; /* Zentriert Text und Bild auf derselben vertikalen Höhe */
    margin-top: 20px;
}

.about-text p {
    color: #555555;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-subtitle {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-quote {
    margin-top: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--gold);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--navy-blue);
    font-weight: 600;
}

.about-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Styling für das Portraitbild */
.about-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-bottom: 6px solid var(--gold); /* Ein edler goldener Abschluss am unteren Bildrand */
    background-color: #e0e0e0; /* Platzhalter-Farbe, falls das Bild noch fehlt */
    min-height: 450px; /* Hält den Platz frei, bevor ein echtes Bild eingefügt wird */
    object-fit: cover;
}

/* Responsives Design für Smartphones */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2; /* Auf dem Handy rutscht der Text unter das Bild */
    }
    
    .about-image-wrapper {
        order: 1; /* Das Bild wird oben angezeigt */
    }
    
    .about-image {
        min-height: 300px;
    }
}