/* --- 1. GLOBALE REGELN --- */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fcf9f6;
    color: #333;
}

/* --- 2. HEADER & HERO BEREICH (MOBILE FIRST) --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 70vh; /* Reicht auf dem Handy völlig aus */
    display: flex;
    flex-direction: column;
}

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

header {
    position: relative;
    z-index: 2;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0)); /* Macht weiße Schrift lesbar */
}

.logo {
    width: 180px;
    max-width: 100%;
    border-radius: 24px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.menu-link {
    color: whitesmoke;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0, 0.6);
}

.menu-link:hover {
    text-decoration: underline;
}

.menu-link-button {
    text-decoration: none;
    background-color: palevioletred;
    border-radius: 16px;
    padding: 8px 24px;
    box-shadow: 0 4px 6px rgba(0,0,0, 0.3);
    color: whitesmoke;
}

.menu-link-button:hover {
    background-color: rgb(236, 163, 188);
}

.headline {
    position: relative;
    z-index: 2;
    margin: auto 0 40px 0; /* Schiebt die Überschrift nach unten */
    padding: 0 20px;
    text-align: center;
    color: whitesmoke;
    font-size: 28px;
    text-shadow: 2px 2px 6px rgba(0,0,0, 0.6);
}

/* --- 3. INFOS & TEXTE --- */
h2 {
    text-align: center;
    font-size: 28px;
    color: palevioletred;
    margin-top: 40px;
}

.rosa {
    color: palevioletred;
}

.description-section {
    font-size: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.half-width {
    width: 100%;
    line-height: 1.6;
}

/* YouTube Video Responsiv machen */
.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- 4. AKKORDEON & LEISTUNGEN --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

summary {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    list-style: none;
    background-color: #fff;
    border-bottom: 1px solid #edf2f7;
}
summary::-webkit-details-marker { display: none; }

summary h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.icon {
    font-size: 1.5rem;
    margin-right: 12px;
}

.service-content {
    padding: 15px;
}

.service-content ul {
    padding-left: 20px;
    margin: 0 0 15px 0;
}

.service-content li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* --- 5. DESKTOP OPTIMIERUNG (Ab Tablet & PC) --- */
@media (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 32px 50px;
    }

    .container {
        flex-direction: row;
        font-size: 24px;
    }

    .logo {
        width: 250px;
    }

    .hero-wrapper {
        min-height: 100vh;
    }

    .headline {
        position: absolute;
        left: 50px;
        top: 250px;
        text-align: left;
        font-size: 50px;
        margin: 0;
    }

    .description-section {
        flex-direction: row;
        padding: 30px 100px;
        font-size: 24px;
        align-items: center;
    }

    .half-width, .video-container {
        width: 50%;
    }
    
    .video-container {
        padding-bottom: 28%; /* Verhindert, dass das Video auf Desktop riesig wird */
    }

    /* Leistungen nebeneinander anzeigen */
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 Spalten nebeneinander */
        padding: 30px 50px;
    }

    .service-card {
        pointer-events: none; /* Klick-Effekt auf PC ausschalten */
    }

    .service-card[details] {
        display: block;
    }

    .service-content {
        display: block;
    }
}