/* ===== SLIDESHOW ===== */
#main-1 {
    text-align: center;
    background-color: #2a1e1c;
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #2a1e1c;
}

#main-1 .main-1-cont {
    width: 100%;
    line-height: 0;
}

#slideimg {
    width: 100%;
    height: auto;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

#slideimg.visible {
    opacity: 1;
}

/* ---- Pfeil-Buttons ---- */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(250, 245, 240, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(250, 245, 240, 0.4);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#slideshow-prev { left: 20px; }
#slideshow-next { right: 20px; }

.slideshow-arrow:hover {
    background: rgba(181, 112, 107, 0.75);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(181, 112, 107, 0.4);
}

/* ---- Dots ---- */
#slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 10px;
    background: var(--warm-cream, #f7ede6);
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(181, 112, 107, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slideshow-dot.active {
    background: var(--accent, #b5706b);
    transform: scale(1.45);
    box-shadow: 0 0 8px rgba(181, 112, 107, 0.45);
}

.slideshow-dot:hover {
    background: var(--accent, #b5706b);
    opacity: 0.75;
}

/* ---- Untertitel ---- */
#main-1 .main-1-word {
    padding: 30px 20px 38px;
    background: var(--warm-cream, #f7ede6);
    position: relative;
}

#main-1 .main-1-word::before {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent, #b5706b);
    margin: 0 auto 20px;
    border-radius: 2px;
}

#main-1 .main-1-word h2 {
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.55;
    color: var(--text-color, #3a3232);
    letter-spacing: 0.4px;
}

/* ===== WILLKOMMEN / LEISTUNGEN ===== */
#main-2 {
    background-color: var(--card-bg, #fffef9);
    padding: var(--spacing-section, 70px) 0;
}

#welcome {
    text-align: center;
    padding: 0 clamp(15px, 5vw, 40px) 50px;
    max-width: 750px;
    margin: 0 auto;
}

#welcome h1 {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--primary-color);
}

#welcome h1 br + * {
    color: var(--text-color);
}

#welcome p {
    font-size: clamp(14px, 1.8vw, 17px);
}

/* Decorative divider */
#welcome h1::after {
    content: none;
}

#leistungen {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 clamp(15px, 4vw, 40px);
    flex-wrap: wrap;
}

#leistungen .leistung {
    flex: 1 1 280px;
    max-width: 480px;
    text-align: center;
    background: linear-gradient(145deg, var(--accent-light, #faeae9), var(--card-bg, #fffef9));
    border-radius: var(--radius, 20px);
    padding: clamp(28px, 3.5vw, 45px) clamp(20px, 2.5vw, 32px);
    box-shadow: var(--shadow, 0 8px 28px rgba(90,50,40,0.09));
    transition: var(--transition);
    border: 1px solid rgba(181, 112, 107, 0.15);
    position: relative;
    overflow: hidden;
}

#leistungen .leistung::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-color));
    border-radius: var(--radius) var(--radius) 0 0;
}

#leistungen .leistung:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: var(--card-bg, #fffef9);
}

#leistungen .leistung span.material-symbols-outlined {
    font-size: 48px;
    color: var(--accent, #b5706b);
    margin-bottom: 16px;
    display: block;
}

#leistungen .leistung h3 {
    color: var(--text-color);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
}

#leistungen .leistung p {
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.7;
}

/* ===== BANNER MAIN-3 ===== */
#main-3 {
    background: linear-gradient(135deg, var(--bg-alt, #f4ece5) 0%, var(--warm-cream, #f7ede6) 100%);
    padding: clamp(45px, 6vw, 80px) clamp(20px, 5vw, 60px);
    text-align: center;
    border-top: 1px solid rgba(181, 112, 107, 0.1);
    border-bottom: 1px solid rgba(181, 112, 107, 0.1);
}

#main-3 h3 {
    font-size: clamp(20px, 3vw, 28px);
    max-width: 750px;
    margin: 0 auto;
}

#main-3 p {
    font-size: clamp(14px, 1.8vw, 16px);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MANIKÜRE / PEDIKÜRE ===== */
#hintergrundmain {
    background:
        linear-gradient(to bottom, var(--bg-color, #faf5f0), rgba(250,245,240,0.9), var(--bg-color, #faf5f0)),
        url(/img/hintergrund1.jpg) center / cover;
    padding: 20px 0 50px;
}

#main-4,
#main-5 {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 45px) clamp(15px, 3vw, 30px);
}

#main-4 .manicuere,
#main-5 .pedicuere {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 55px);
    background: var(--card-bg, #fffef9);
    border-radius: var(--radius-lg, 28px);
    padding: clamp(22px, 3vw, 42px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(181, 112, 107, 0.1);
    position: relative;
    overflow: hidden;
}

/* Farbige linke Kante */
#main-4 .manicuere::before,
#main-5 .pedicuere::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--primary-color));
    border-radius: 4px 0 0 4px;
}

#main-4 .manicuere:hover,
#main-5 .pedicuere:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

#main-4 .manicuere-text,
#main-5 .pedicuere-text {
    flex: 1;
    min-width: 0;
}

#main-4 .manicuere-text h3,
#main-5 .pedicuere-text h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--primary-color);
}

#main-4 .manicuere-text p,
#main-5 .pedicuere-text p {
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.78;
}

#main-4 .manicuere-img,
#main-5 .pedicuere-img {
    flex: 0 0 auto;
    text-align: center;
}

#main-4 .manicuere img,
#main-5 .pedicuere img {
    width: clamp(200px, 27vw, 330px);
    height: clamp(200px, 27vw, 330px);
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--warm-cream, #f7ede6);
    box-shadow: var(--shadow);
    transition: var(--transition);
    outline: 2px solid rgba(181, 112, 107, 0.2);
    outline-offset: 4px;
}

#main-4 .manicuere img:hover,
#main-5 .pedicuere img:hover {
    transform: scale(1.04) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

/* ===== TABLET (≤ 900px) ===== */
@media (max-width: 900px) {
    #main-4 .manicuere,
    #main-5 .pedicuere {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    #main-5 .pedicuere-img {
        order: -1;
    }

    #leistungen {
        gap: 20px;
    }
}

/* ===== MOBILE (≤ 600px) ===== */
@media (max-width: 600px) {
    #slideimg {
        max-height: none;
    }

    .slideshow-arrow {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    #slideshow-prev { left: 8px; }
    #slideshow-next { right: 8px; }

    #slideshow-dots {
        gap: 8px;
        padding: 12px 0 8px;
    }

    #main-1 .main-1-word {
        padding: 22px 15px 30px;
    }

    #leistungen {
        flex-direction: column;
        gap: 16px;
        padding: 0 15px;
    }

    #leistungen .leistung {
        max-width: 100%;
    }

    #main-4 .manicuere,
    #main-5 .pedicuere {
        border-radius: 18px;
        padding: 18px 15px;
    }

    #main-3 {
        padding: 32px 15px;
    }

    #hintergrundmain {
        padding: 10px 0 28px;
    }
}