/* --- GRUNDLEGENDES DESIGN (CSS) --- */
:root {
    --primary-color: #2c3e50; /* Dunkelblau */
    --accent-color: #e67e22; /* Handwerks-Orange */
    --bg-light: #f9f9f9;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- KOPFZEILE --- */
header {
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* Standard-Einstellung (für HANDY): Logo links, Menü rechts */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px; /* Handy Größe */
    height: auto;
    margin-right: 12px;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}
.logo span { color: var(--accent-color); }

/* Menü-Style für Handy */
nav ul {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}
nav a:hover { color: var(--accent-color); transition: 0.3s; }

/* --- INTELLIGENTE UMSCHALTUNG (DESKTOP) --- */
@media (min-width: 900px) {
    nav { display: none; } /* Menü ausblenden */

    /* HIER WURDE GEÄNDERT: LINKS (flex-start) statt RECHTS */
    .header-content { justify-content: flex-start; }

    .logo { font-size: 1.8rem; letter-spacing: 2px; }

    /* Icon groß lassen */
    .logo-img { width: 80px; margin-right: 15px; }
}

/* --- HERO BEREICH --- */
.hero {
    background-color: #2c3e50;
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('header.png');
    background-size: cover;
    background-position: center bottom;
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1rem; margin-bottom: 1rem; opacity: 0.9; }

.btn {
    background: var(--accent-color);
    color: #fff;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
}
.btn:hover { background: #d35400; }

/* --- DIENSTLEISTUNGEN --- */
.services { padding: 3rem 0; background: var(--bg-light); }

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-intro { text-align: center; }
.services-intro h2 { color: var(--primary-color); font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.5rem; }
.services-intro p { color: #666; font-size: 0.9rem; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.service-card h3 { margin-bottom: 0.8rem; color: var(--primary-color); font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem;}
.service-card ul li { margin-bottom: 0.3rem; font-size: 0.9rem; padding-left: 1.2em; text-indent: -1.2em; color: #555;}
.service-card ul li::before { content: "•"; color: var(--accent-color); margin-right: 8px; font-weight: bold;}

/* Desktop Layout Anpassung für Services */
@media (min-width: 900px) {
    .services-layout { flex-direction: row; align-items: flex-start; }
    .services-intro {
        text-align: right;
        flex: 0 0 180px;
        padding-top: 1rem;
        border-right: 1px solid #ddd;
        padding-right: 1.5rem;
        margin-right: 0.5rem;
    }
    .service-grid { flex: 1; }
}

/* --- KONTAKT --- */
.contact-section { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { color: var(--primary-color); font-size: 1.6rem; margin-bottom: 0.5rem;}
.section-header p { color: #666; }

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.info-item { margin-bottom: 1.2rem; }
.info-item h3 { font-size: 1rem; color: var(--primary-color); margin-bottom: 0.2rem; }
.info-item p { font-size: 0.95rem; color: #555; }

.contact-link { color: var(--accent-color); font-weight: 600; border-bottom: 1px dotted var(--accent-color); }
.contact-link:hover { color: var(--primary-color); border-bottom-style: solid;}

/* --- GOOGLE MAPS --- */
.map-wrapper {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}
.map-wrapper iframe { width: 100%; height: 100%; border:0; }

/* --- TEAM BEREICH --- */
.team-section {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.team-member { max-width: 250px; }

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-image img { width: 100%; height: 100%; object-fit: cover; }

.team-member h3 { color: var(--primary-color); margin-bottom: 0.3rem; font-size: 1.3rem; }
.team-member p { color: var(--accent-color); font-weight: 600; font-size: 1rem; }

/* --- FOOTER --- */
footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    margin-top: auto;
}

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 768px) {
    .services-intro {
        text-align: left;
        border-right: none;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 0.5rem;
        width: fit-content;
        margin-bottom: 0.5rem;
    }
    .services-intro p { display: none; }

    .contact-layout { flex-direction: column; }
    .team-grid { gap: 3rem; }
    .map-wrapper { height: 400px; }
}
