/* --- 1. GRUNDEINSTELLUNGEN & VARIABLEN --- */
:root {
    --primary-red: #cc2128;
    --dark-bg: #111111;
    --light-grey: #f4f4f4;
    --text-dark: #333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: white;
}

/* --- 2. HEADER & LOGO --- */
header {
    text-align: center;
    padding: 25px 0;
    background: white;
    border-bottom: 5px solid var(--primary-red);
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--dark-bg);
}

.logo small {
    font-size: 0.4em;
    letter-spacing: 6px;
    display: block;
    color: #555;
    margin-top: 5px;
}

/* --- 3. NAVIGATION --- */
nav {
    background: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none; /* Nur auf Handy sichtbar */
    padding: 15px;
    color: white;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    background: #222;
}

.nav-links {
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    padding: 18px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a:hover, nav a.active {
    background: var(--primary-red);
}

.nav-icon {
    font-size: 1.2rem;
}

/* --- 4. HERO SECTION (STARTSEITE) --- */
.hero {
    height: 500px;
    /* Blueprint Muster Hintergrund */
    background: #fff url('https://www.transparenttextures.com/patterns/graphy.png'); 
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Text rechtsbündig */
    padding-right: 15%;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.hero-text {
    max-width: 550px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-right: 10px solid var(--primary-red);
    box-shadow: -20px 20px 40px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    color: var(--dark-bg);
}

.btn-quote {
    background: var(--primary-red);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-quote:hover {
    transform: scale(1.05);
}

/* --- 5. PAGE HEADER (UNTERSEITEN) --- */
.page-header {
    background: var(--light-grey);
    padding: 50px 10%;
    border-bottom: 1px solid #ddd;
}

.page-header h1 {
    margin: 0;
    text-transform: uppercase;
    font-size: 2rem;
    border-left: 8px solid var(--primary-red);
    padding-left: 20px;
    color: var(--dark-bg);
}

/* --- 6. CONTENT & GRID LAYOUT --- */
main {
    min-height: 50vh; /* Damit der Footer nicht hochrutscht bei wenig Text */
}

.expertise {
    padding: 80px 10%;
    text-align: center;
}

.expertise h2 {
    text-transform: uppercase;
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.expertise h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.service-card {
    background: var(--light-grey);
    padding: 40px 30px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary-red);
}

.service-card h3 {
    text-transform: uppercase;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-icon {
    font-size: 2rem;
    color: var(--primary-red);
}

/* --- 7. FOOTER (TRAPEZ DESIGN) --- */
footer {
    background-color: var(--primary-red); /* Hintergrundfarbe scheint durch */
    margin-top: 80px;
    padding-bottom: 0;
}

.footer-content {
    background-color: var(--dark-bg);
    padding: 60px 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    color: white;
    /* Das Trapez: Oben 95% breit, unten 100% */
    clip-path: polygon(95% 0, 5% 0, 0% 100%, 100% 100%);
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-section h4 {
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-section p {
    color: #ccc;
    margin: 10px 0;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

/* --- 8. RESPONSIVE (HANDY) --- */
@media (max-width: 768px) {
    /* Menü */
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none; /* Versteckt */
        flex-direction: column;
        width: 100%;
    }

    .nav-links.show {
        display: flex; /* Zeigen wenn JS aktiv */
    }

    nav a {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #222;
    }

    /* Hero */
    .hero {
        justify-content: center;
        padding-right: 0;
        text-align: center;
        height: auto;
        padding: 60px 20px;
    }
    
    .hero-text {
        border-right: none;
        border-bottom: 10px solid var(--primary-red);
        width: 100%;
    }

    .hero h1 { font-size: 2rem; }

    /* Footer Trapez entfernen für Platz */
    .footer-content {
        clip-path: none;
        padding: 40px 5%;
    }
}