/* --- BASIS & FARBEN --- */
:root {
    --color-red: #c8102e; /* Ein sattes, sportliches, aber seriöses Rot */
    --color-dark: #18181b; /* Tiefes Anthrazit statt hartem Schwarz */
    --color-bg: #fdfdfc; /* Sehr sanftes Weiss für den Hintergrund */
    --color-text: #3f3f46; /* Dunkelgrau für Texte (besser lesbar als Schwarz) */
    --color-border: #e4e4e7;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* --- NAVIGATION --- */
nav {
    background-color: var(--color-dark);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-brand span {
    color: var(--color-red);
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-red);
}

/* --- HEADER (KOPFBEREICH) --- */
.hero-header {
    background: linear-gradient(rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.9)), url('https://images.unsplash.com/photo-1613214149922-f1809c99b414?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: #ffffff;
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--color-red);
}

.hero-header h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-header p {
    font-size: 1.2rem;
    color: #e4e4e7;
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}

/* Die Leiste für schnelles Vertrauen */
.trust-bar {
    background-color: var(--color-red);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- INHALTSBEREICH (CONTAINER) --- */
.container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-dark);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    margin-top: 4rem;
    display: flex;
    align-items: center;
}

h2::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: var(--color-red);
    margin-right: 15px;
}

/* Layout für Text links, Bild rechts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.split-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- DIENSTLEISTUNGEN & TEAM (GRID-LAYOUT) --- */
.grid-layout {
    display: grid;
    /* Hier habe ich minmax(280px) statt 300px gesetzt, damit es auch auf schmalen Handys (wie dem iPhone SE) nicht klemmt! */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.box {
    background: #ffffff;
    padding: 2.5rem;
    border-top: 4px solid var(--color-red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.box h3 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    color: var(--color-dark);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.box ul {
    padding-left: 1.2rem;
    color: var(--color-text);
}

.box li {
    margin-bottom: 0.8rem;
}

/* --- TEAM BILDER --- */
.team-box {
    text-align: center;
}

.team-image-placeholder {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-border);
    padding: 5px;
    background-color: white;
}

/* --- KONTAKT BEREICH --- */
.contact-section {
    background-color: var(--color-dark);
    color: white;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.contact-column h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.contact-column p {
    color: #d4d4d8;
    margin-bottom: 0.5rem;
}

.contact-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-column a:hover {
    color: var(--color-red);
}

/* --- FOOTER (IMPRESSUM) --- */
footer {
    background-color: #09090b;
    color: #71717a;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer a {
    color: #71717a;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}


/* ==========================================================
   SMARTPHONE & TABLET ANPASSUNGEN (RESPONSIVE DESIGN)
   Alles ab hier greift nur, wenn der Bildschirm kleiner als 768px ist.
   ========================================================== */
@media (max-width: 768px) {
    
    /* Navigation: Logo oben, Links darunter zentriert */
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap; /* Erlaubt Umbrüche, wenn zu viele Links da sind */
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-links a {
        margin-left: 0; /* Entfernt den grossen Abstand vom Desktop */
        font-size: 0.85rem;
    }

    /* Hero-Header: Text verkleinern und Polsterung anpassen */
    .hero-header {
        padding: 4rem 1rem;
    }
    
    .hero-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-header p {
        font-size: 1rem;
    }

    /* Trust-Bar: Elemente untereinander stapeln */
    .trust-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Überschriften etwas kleiner machen */
    h2 {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    /* Hauptcontainer: Ränder verkleinern, damit mehr Platz für Text ist */
    .container {
        margin: 2rem auto;
        padding: 0 1.5rem;
    }

    /* Split-Layout: Text und Bild untereinander packen */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Bilder im Split-Layout auf Handys nicht zu riesig machen */
    .split-image {
        height: 250px;
    }
    
    /* Kontakt-Sektion: Polsterung reduzieren */
    .contact-section {
        padding: 3rem 1.5rem;
    }
}