/* Override default center layout */
.reinigung-body {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 0;
    gap: 120px;
}

/* HERO SECTION */
.main-reinigung {
    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
}

/* IMAGE LOCKED TO LEFT EDGE */
.main-reinigung-image {
    position: absolute;
    top: 0;
    left: 10px;

    width: 45%;
    height: 100%;

    background: url('/image/Reinigung.png') center / cover no-repeat;
    background-color: transparent;

    border-radius: 12px; /* subtle rounding */
}

/* CENTERED CONTENT AREA */
.main-reinigung-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 80px 80px;

    display: flex;
    align-items: center;
}

.main-reinigung-content {
    margin-left: auto;
    max-width: 520px;

    font-family: "Inter", sans-serif;
    background: none;
    color: #ffffff;
}

.main-reinigung-content h1 {
    font-size: 42px;
    margin-bottom: 20px;

    background: linear-gradient(180deg, #3d579a, #4d66a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-reinigung-content p {
    font-size: 22px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;

    background: linear-gradient(180deg, #4d66a5, #5d79b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reinigung-cta {
    align-self: flex-start;
    padding: 14px 28px;
    background: linear-gradient(90deg, #3d579a, #4d66a5);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reinigung-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

/* RABATT SECTION */
.rabatt-section {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #435a93, #435685);
    padding: 80px 0;
    overflow: hidden;
}

.rabatt-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;

    display: flex;
    align-items: center;
    min-height: 420px;
}

.rabatt-content {
    max-width: 520px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.rabatt-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.rabatt-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* IMAGE LOCKED TO RIGHT EDGE */
.rabatt-image {
    position: absolute;
    top: 0;
    right: 0;

    width: 40%;
    height: 100%;

    background: url('/image/Rabatt2.jpg') center / cover no-repeat;
    border-radius: 14px 0 0 14px;
}

/* GLOBAL FIXES */
html, body {
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* GALLERY SECTION */
.gallery-section {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #435a93, #435685);
    padding: 20px 0; 
    overflow: hidden;
    font-family: "Bahnschrift", sans-serif;
}

.gallery-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

.gallery-inner h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 60px;
    font-weight: 600;
    background: linear-gradient(180deg, #c9e0f4, #a9b2ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 40px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Image descriptions */
.gallery-item p {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #e0e0ff;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Empty placeholders */
.gallery-item.empty {
    background: transparent;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.empty {
        display: none;
    }
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 150px;
    }
}