/* Theme Name: Haudegen Theme 1.0
Version: 1.0
Author: Haudegen Webdesign
Author URI: https://haudegen-webdesign.de */

/* --- Basis Header Styling --- */
.site-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.logo-img {
    width: 200px;
}

.toggle-img{
    width: 40px;
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

/* --- Desktop Navigation --- */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; 
}

.main-navigation a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-family: sans-serif;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #0073aa; 
}

/* Das Mobile-Icon ist auf dem Desktop unsichtbar */
.mobile-menu-toggle {
    display: none;
}

/* --- Responsive Layout (Mobile & Tablet) --- */
@media (max-width: 768px) {
    
    /* Normale Navigation ausblenden */
    .main-navigation {
        display: none;
    }
    
    /* Mobile-Icon einblenden */
    .mobile-menu-toggle {
        display: block;
    }
}

/* --- Haupt-Container Layout --- */
.hero-section {
    padding: 0; 
}

.hero-container {
    max-width: 100%; 
    margin: 0;
    display: flex;
    align-items: stretch;
    gap: 0; 
}

/* --- Linke Seite --- */
.hero-content.red-box {
    flex: 1; 
    background-color: #ef151b; 
    color: #ffffff; 
    padding: 80px 60px; 
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start;
    gap: 20px;
}

.hero-content h1 {
    margin: 0;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #ffffff;
}

.hero-content .subheadline {
    font-size: 1.2rem;
    font-weight: normal;
}

.hero-content p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.wild-panda-btn {
    display: inline-block;
    
    /* Typografie */
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 600; 
    line-height: 1;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase; 
    
    
    padding: 12px 24px; 
    
    
    background-color: transparent; 
    color: #ffffff; 
    border: 2px solid #ffffff; 
    
    
    border-radius: 0; 
    cursor: pointer;
    transition: all 0.3s ease; 
}



/* --- Rechte Seite: Die 3 Bild-Reihen --- */
.hero-services {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 0; 
}

/* Die einzelnen Bild-Boxen */
.service-box {
    flex: 1; 
    min-height: 200px; 
    
    background-image: var(--bg); 
    
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    border-radius: 0; 
    position: relative; 
    display: flex;
    align-items: center;
    padding-left: 60px; 
    overflow: hidden; 
}

/* Dunkler Schleier über dem Bild für die Lesbarkeit */
.service-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Der Text auf den Bildern */
.service-box .service-title {
    position: relative;
    z-index: 2; 
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Responsive (Smartphone Ansicht) --- */
@media (max-width: 800px) {
    .hero-container {
        flex-direction: column; 
    }
    
    /* Auf dem Smartphone ggf. das Padding etwas verkleinern */
    .hero-content.red-box {
        padding: 40px 20px;
    }
    
    .service-box {
        padding-left: 20px;
    }
}