/* Hilfsklassen für Textformatierung */
.marzer {
    margin: 0;
}
/*Überschrift Beiträge*/
.text-heading {
    padding: 5px 5px 0 5px;
    margin: 0;
}
.size-medium {
    font-size: 1.6rem;
}
/*Beiträge*/
.text-text {
    padding: 15px 5px 0 5px;
    margin: 0;
}
.size-small {
    font-size: 1.1rem;
}
.weight-400 {
    font-weight: 400;
}
/*Ausrichtung*/
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
/*Design*/
.text-light {
    color: #F5F9F5;
}
.text-accent {
    color: #aecc24;
}
.text-bright {
    color: #F4FFD1;
}
.text-dark {
    color: #212607;
}
.weight-300 {
    font-weight: 300;
}
.weight-500 {
    font-weight: 500;
}
.weight-600 {
    font-weight: 600;
}
.size-big {
    font-size: 2rem;
}
.block-heading {
    margin: 0;
    padding: 15px 5px 10px 5px;
}

.block-copy {
    margin: 0;
    padding: 0 8px 8px 8px;
}

/* =====================
 *  RESPONSIVE BASIS / OVERFLOW-SCHUTZ
 * ===================== */

html,
body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.reinigung-hero,
.reinigung-backscroll,
.reinigung-wrapper,
.reinigung,
.reinigung__hero,
.reinigung__container,
.reinigung-grid,
.reinigung-item,
.reinigung-faq,
.reinigung-hero__slogan,
.reinigung-hero__anruf,
.info-wrapper,
.technik-wrapper {
    max-width: 100%;
}

.reinigung-wrapper img,
.reinigung-wrapper video,
.reinigung-wrapper iframe,
.reinigung-wrapper svg,
.reinigung-hero img {
    max-width: 100%;
}

.reinigung-wrapper img {
    height: auto;
}

/*
 * Allgemeine Tabellen innerhalb der Reinigungsseite.
 * Die Preistabellen im FAQ werden ausgeschlossen, damit sie
 * dieselben globalen Styles wie auf der Homepage verwenden.
 */
.reinigung-wrapper table:not(.service-preise__table) {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.reinigung-wrapper table:not(.service-preise__table) th,
.reinigung-wrapper table:not(.service-preise__table) td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reinigung-hero {
    position: relative; /* Nicht mehr fixed */
    top: 0;
    width: 100%;
    height: 80vh; /* Höhe des Bildes */
    overflow: hidden;
}

.reinigung-hero__image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.reinigung-hero__image {
    position: fixed; /* Bleibt stehen */
    top: 0;
    left: 0;
    z-index: -1; /* Hinter dem Content */
    width: 100%;
    height: 100vh; /* Gleiche Höhe wie Hero-Sektion */
    object-fit: cover;
}

/* Slogan-Box */
.reinigung-hero__slogan {
    position: absolute; /* Bleibt innerhalb der Hero-Sektion */
    top: 300px;
    left: 0;
    z-index: 10;
    max-width: min(92%, 680px);
    padding: 10px 20px 10px 10px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background: rgba(85, 100, 18, 0.65);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.reinigung-hero__anruf {
    position: absolute; /* Bleibt innerhalb der Hero-Sektion */
    bottom: 70px;
    right: 0;
    z-index: 10;
    padding: 10px 10px 10px 30px;
    font-size: 1.65rem;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    background: #F5F9F5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.reinigung-hero__slogan h1 {
    margin: 5px;
    font-size: 2.75rem;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    overflow-wrap: break-word;
}

.reinigung-hero__slogan p {
    margin: 5px;
    font-size: 1.5rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.reinigung-hero__anruf p {
    margin: 5px;
    overflow-wrap: break-word;
}

.reinigung-backscroll {
    width: 100%;
    background: #F5F9F5;
    border-top: 30px solid #aecc24;
    border-bottom: 30px solid #aecc24;
}

.info-wrapper {
    background: #F5F9F5;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.info-wrapper h2 {
    padding-top: 15px;
}
.info-wrapper p {
    padding-bottom: 15px;
}
.technik-wrapper {
    background: #F5F9F5;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
/* =====================
 *  REINIGUNGS GRID
 * ===================== */

.reinigung-wrapper {
    width: min(90%, 1200px);
    margin: 0 auto;
    background: #F5F9F5;
    padding-top: 60px;
}

.reinigung-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 nebeneinander, ohne Überbreite */
    gap: 30px;
}

.reinigung-item {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    overflow-wrap: anywhere; /* Bild und Text nebeneinander */
    gap: 15px;
    background: #556412;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.reinigung-item img {
    display: block;
    width: 250px; /* Kleines Bild */
    max-width: 45%;
    height: auto;
    flex: 0 1 250px;
    padding: 7px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.reinigung-text {
    min-width: 0;
    padding-right: 12px;
}

.reinigung-text h3 {
    margin: 10px 0 5px 0;
    font-size: 1.2rem;
    color: #F4FFD1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.reinigung-text p {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 350;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* =====================
 *  REINIGUNG SLIDER
 * ===================== */

.reinigung__container {
    width: 100%;
    margin: 0 auto;
    padding: 25px 0;
}

.reinigung__content {
    max-width: 100%;
    overflow-wrap: break-word;
}

.reinigung__content > * {
    max-width: 100%;
}

.reinigung__content .alignwide,
.reinigung__content .alignfull {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.reinigung__content pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
}

.reinigung__title {
    margin: 0 0 18px;
}

.reinigung-ba {
    --pos: 50%;
    margin: 18px 0 26px;
}

.reinigung-ba__stage {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    background: #F5F9F5;
    touch-action: pan-y;
}

.reinigung-ba__img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* After-Layer wird per CSS-Variable beschnitten */
.reinigung-ba__after {
    position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.reinigung-ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    transform: translateX(-1px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01);
    pointer-events: none;
}

.reinigung-ba__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.reinigung-ba__knob::before,
.reinigung-ba__knob::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(0, 0, 0, 0.55);
    border-right: 2px solid rgba(0, 0, 0, 0.55);
}

.reinigung-ba__knob::before {
    left: 14px;
    transform: translateY(-50%) rotate(225deg);
}

.reinigung-ba__knob::after {
    right: 14px;
    transform: translateY(-50%) rotate(45deg);
}

/* Range ist das eigentliche Steuerelement, unsichtbar aber zugänglich */
.reinigung-ba__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.reinigung-ba__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.75;
}
/* =====================
 *  FAQ BEREICH
 * ===================== */

.reinigung-faq {
    margin: 0 0 8px;
    padding: 28px;
    background: #F5F9F5;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.reinigung-faq__intro h2 {
    margin: 0 0 10px;
}

.reinigung-faq__intro p {
    max-width: 760px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.reinigung-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reinigung-faq__item {
    overflow: hidden;
    border-radius: 3px;
    background: #556412;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.reinigung-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: #F5F9F5;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.reinigung-faq__question:hover,
.reinigung-faq__question:focus-visible {
    color: #aecc24;
    outline: none;
}

.reinigung-faq__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.reinigung-faq__icon::before,
.reinigung-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.reinigung-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.reinigung-faq__item.is-open .reinigung-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.reinigung-faq__answer {
    max-height: 0;
    overflow: hidden;
    background: #F5F9F5;
    color: #212607;
    transition: max-height 0.3s ease;
}

.reinigung-faq__answer p {
    margin: 0;
    padding: 0 20px 20px;
    line-height: 1.55;
}

.reinigung-faq .service-preise {
    display: grid;
    gap: 24px;
    padding: 0 20px 22px;
}

.reinigung-faq .service-preise__bereich {
    min-width: 0;
}

.reinigung-faq .service-preise__bereich h3,
.reinigung-faq .service-preise__bereich h4 {
    margin: 0 0 12px;
    color: #556412;
    line-height: 1.25;
}

.reinigung-faq .service-preise__bereich h4 {
    margin-top: 22px;
    font-size: 1.05rem;
}

.reinigung-faq .service-preise__hinweis {
    margin: 0 0 12px;
    padding: 0;
    color: #556412;
    font-weight: 600;
}

.reinigung-faq .service-preise__table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
    -webkit-overflow-scrolling: touch;
}

.reinigung-faq .service-preise__table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
    color: #212607;
}

.reinigung-faq .service-preise__table th,
.reinigung-faq .service-preise__table td {
    padding: 12px 14px;
    border: 1px solid rgba(85, 100, 18, 0.18);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.reinigung-faq .service-preise__table th {
    background: #556412;
    color: #F5F9F5;
    font-weight: 600;
}

.reinigung-faq .service-preise__table tbody tr:nth-child(even):not(.service-preise__info-row) {
    background: #FBFDF6;
}

.reinigung-faq .service-preise__info-row td {
    background: rgba(174, 204, 36, 0.16);
    color: #556412;
    font-weight: 600;
    text-align: center;
}



/* =====================
 *  TABLET: 768px bis 1024px
 * ===================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .reinigung-hero {
        height: 65vh;
    }

    .reinigung-hero__slogan {
        top: clamp(120px, 18vh, 170px);
        max-width: min(88vw, 680px);
        padding: 10px 20px 10px 10px;
    }

    .reinigung-hero__anruf {
        top: auto;
        right: 0;
        bottom: clamp(40px, 8vh, 90px);
        max-width: min(88vw, 620px);
        padding: 14px 18px 14px 24px;
        font-size: clamp(1rem, 2vw, 1.25rem);
    }

    .reinigung-wrapper {
        width: 94%;
        padding-top: 44px;
    }

    .info-wrapper,
    .technik-wrapper,
    .reinigung-faq {
        padding-inline: 22px;
    }

    .reinigung-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .reinigung-item {
        flex-direction: column;
        gap: 10px;
    }

    .reinigung-item img {
        width: 100%;
        max-width: 100%;
        height: clamp(180px, 24vw, 240px);
        flex-basis: auto;
    }

    .reinigung-text {
        padding: 0 14px 16px;
    }

    .reinigung-text h3 {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .reinigung__container {
        padding: 28px 0;
    }

    .reinigung-faq {
        padding-block: 24px;
    }
}

/* =====================
 *  MOBILE: bis 767px
 * ===================== */

@media (max-width: 767px) {
    .reinigung-hero {
        height: 56vh;
        min-height: 360px;
    }

    .reinigung-hero__image {
        width: 100%;
        height: 100vh;
        max-width: 100%;
    }

    .reinigung-hero__slogan {
        top: clamp(120px, 18vh, 170px);
        bottom: auto;
        left: 0;
        max-width: calc(100% - 18px);
        padding: 10px 20px 10px 10px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .reinigung-hero__slogan h1 {
        margin: 5px;
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .reinigung-hero__slogan p {
        margin: 5px;
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .reinigung-hero__anruf {
        top: auto;
        right: 0;
        max-width: calc(100% - 20px);
        padding: 10px 12px 10px 18px;
        font-size: 0.95rem;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    .reinigung-hero__anruf p {
        margin: 0;
        line-height: 1.35;
    }

    .reinigung-backscroll {
        border-top-width: 16px;
        border-bottom-width: 16px;
    }

    .reinigung-wrapper {
        width: 100%;
        padding: 32px 14px 0;
    }

    .info-wrapper,
    .technik-wrapper {
        padding: 0 16px;
    }

    .info-wrapper h2,
    .technik-wrapper h2,
    .reinigung-faq__intro h2,
    .text-center h2 {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
        line-height: 1.2;
    }

    .info-wrapper p,
    .technik-wrapper p,
    .reinigung-text p,
    .reinigung-faq__answer p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .size-small {
        font-size: 1rem;
    }

    .size-medium {
        font-size: 1.25rem;
    }

    .size-big {
        font-size: 1.55rem;
    }

    .reinigung-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reinigung-item {
        flex-direction: column;
        gap: 10px;
    }

    .reinigung-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        flex-basis: auto;
    }

    .reinigung-text {
        padding: 0 14px 16px;
    }

    .reinigung-text h3 {
        margin-top: 0;
        font-size: 1.1rem;
        line-height: 1.25;
    }

    .reinigung__container {
        padding: 24px 0;
    }

    .reinigung-ba {
        margin: 14px 0 22px;
    }

    .reinigung-ba__knob {
        width: 38px;
        height: 38px;
    }

    .reinigung-ba__knob::before {
        left: 12px;
    }

    .reinigung-ba__knob::after {
        right: 12px;
    }

    .reinigung-faq {
        margin: 22px 0 6px;
        padding: 20px 14px;
    }

    .reinigung-faq__intro p {
        margin-bottom: 18px;
    }

    .reinigung-faq__question {
        gap: 12px;
        padding: 16px 14px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .reinigung-faq__answer p {
        padding: 0 14px 16px;
    }

    .reinigung-faq .service-preise {
        gap: 18px;
        padding: 0 14px 18px;
    }

    .reinigung-faq .service-preise__bereich h3,
    .reinigung-faq .service-preise__bereich h4 {
        margin-bottom: 10px;
    }

    .reinigung-faq .service-preise__table-wrapper {
        overflow-x: visible;
        box-shadow: none;
    }

    .reinigung-faq .service-preise__table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
        background: transparent;
    }

    .reinigung-faq .service-preise__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .reinigung-faq .service-preise__table tbody {
        display: grid;
        gap: 8px;
    }

    .reinigung-faq .service-preise__table tbody tr {
        display: grid;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid rgba(85, 100, 18, 0.18);
        border-radius: 3px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    }

    .reinigung-faq .service-preise__table th,
    .reinigung-faq .service-preise__table td {
        padding: 10px 12px;
        border: 0;
    }

    .reinigung-faq .service-preise__table td:last-child {
        color: #556412;
        font-weight: 600;
        background: #FBFDF6;
        border-top: 1px solid rgba(85, 100, 18, 0.14);
    }

    .reinigung-faq .service-preise__info-row td,
    .reinigung-faq .service-preise__info-row td:last-child {
        background: rgba(174, 204, 36, 0.16);
        border-top: 0;
        text-align: center;
    }
}
