/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    font-size: 100%; /* Basisgröße setzen, meist 16px */
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Alle Bilder responsive machen */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   HEADER & NAVIGATION (Desktop First)
   ========================================= */
.main-header {
    background-color: #3a3a3a;
    padding: 1.25rem 5%; /* Flexibler Abstand an den Seiten (5%) */
    display: flex;
    justify-content: space-between; /* Logo links, Nav rechts (auf großen Screens) */
    align-items: center;
    flex-wrap: wrap; /* Erlaubt Umbrüche, falls nötig */
    
    /* Header am oberen Rand fixieren */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    color: #ffffff;
    font-size: 1.5rem; /* Entspricht 24px */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hamburger-Button (Desktop unsichtbar) */
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.main-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.875rem; /* Entspricht ca. 14px */
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.nav-privat {
    color: #e67e22 !important;
    font-weight: bold;
}

/* =========================================
   HERO BEREICH
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh; 
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-overlay {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 1.25rem;
    width: 90%;
}

.hero-overlay h2 {
    font-size: 3rem; /* Groß auf Desktop */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* =========================================
   WILLKOMMENS-BEREICH
   ========================================= */
.welcome-section {
    padding: 4rem 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-sub {
    color: #e67e22;
    font-size: 1.75rem; 
    margin-bottom: 0.5rem;
}

.welcome-main {
    color: #e67e22;
    font-size: 2.5rem; 
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.welcome-text {
    color: #666666;
    font-size: 1rem;
}

/* =========================================
   MEDIA QUERIES (Mobile & Tablet Anpassungen)
   ========================================= */
@media screen and (max-width: 992px) {
    /* Tablet-Anpassungen */
    .hero-overlay h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile-Anpassungen (Handy) */
    
    .menu-toggle {
        display: block; /* Hamburger-Menü einblenden */
    }

    .main-nav {
        width: 100%;
        display: none; /* Navigation standardmäßig ausblenden */
        padding-top: 1rem;
    }

    .main-nav.active {
        display: block; /* Einblenden, wenn auf den Button geklickt wird */
    }

    .main-nav ul {
        flex-direction: column; /* Links untereinander anordnen */
        gap: 0.8rem;
        text-align: center;
        background-color: #3a3a3a;
        padding-bottom: 1rem;
    }

    .main-nav a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem; /* Auf mobilen Geräten größer für bessere Bedienung */
    }

    .hero-section {
        height: 50vh; /* Hero-Bereich auf Handys etwas kleiner */
        min-height: 300px;
    }

    .hero-overlay h2 {
        font-size: 1.8rem; 
    }

    .welcome-main {
        font-size: 2rem;
    }

    .welcome-sub {
        font-size: 1.3rem;
    }
    
    .welcome-section {
        padding: 3rem 5%;
    }
}