/* Globale Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

/* Header & Navigation (Fixiert oben) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Logo-Konfiguration (Oben Rechts & Responsiv) */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px; /* Anpassen je nach Originalgröße */
    width: auto;
    display: block;
}

/* Standardmäßig primäres Logo anzeigen, alternatives verstecken */
.primary-logo {
    display: block;
}
.alt-logo {
    display: none;
}

/* Hero-Sektion (Vollbild-Hintergrund) */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #004999;
}

/* Inhalts-Sektionen */
.content-section {
    padding: 100px 20px;
    text-align: center;
}

.light-bg {
    background: #f9f9f9;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

/* Leistungen Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-box h3 {
    margin-bottom: 10px;
    color: #0066cc;
}

/* Kontaktformular */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* --- Responsive Anpassungen & Alternativ-Logo --- */
@media (max-width: 768px) {
    .main-nav {
        gap: 10px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Wechsel auf das Alternativ-Logo bei kleineren Bildschirmen */
    .primary-logo {
        display: none;
    }
    .alt-logo {
        display: block;
        height: 35px; /* Größe für Mobilgeräte anpassen */
    }
}