/* m26_referenzen_quote */
.m26_referenzen_quote {
    /* Kein eigener BG — uebernimmt body var(--hs-bg) damit der Uebergang zur
       Hero-Section (deren V-Cut zur gleichen Body-Farbe geht) unsichtbar ist. */
    padding: clamp(80px, 8vw, 130px) 0;
    background: transparent;
    position: relative;
    overflow-x: clip; /* verhindert horizontalen Scroll durch Bild-Breakout */
}

/* === Intro 2-Spalten === */
.m26_intro {
    display: grid;
    /* 50/50-Aufteilung ohne Gap → intro_right beginnt exakt auf der Container-
       Mitte (= Viewport-Mitte, dort wo auch der gold Scroll-Pfeil steht). */
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 60px;
}
.m26_intro_left {
    /* Padding-Right schafft visuell Luft zur rechten Spalte ohne die
       Spaltentrennung von der Container-Mitte zu verschieben. */
    padding-right: clamp(40px, 5vw, 80px);
}
.m26_headline {
    color: var(--hs-dark);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    margin: 0;
}
.m26_intro_right .m26_text {
    color: var(--hs-text);
    margin-bottom: 32px;
    max-width: 600px;
}

/* === Divider === */
.m26_divider {
    height: 1px;
    background: #c0c4c7;
    margin: 0 0 70px;
}

/* Wrapper-Ausrichtung wird global in brand.css definiert */

/* Slider-Grid: Text-Spalte geht bis zur Viewport-Mitte (deckungsgleich mit
   intro_right.left). Bild-Spalte beginnt bei 50vw und bleedet bis zur
   Viewport-Right-Kante. Padding-Left auf image_col haelt visuell Abstand
   zur Center-Linie. */
.m26_slider_wrap {
    display: grid;
    grid-template-columns:
        calc(50vw - max(0px, (100vw - 1726px) / 2) - var(--hs-container-px))
        minmax(0, 1fr);
    gap: 0;
    /* Text-Col bestimmt die Row-Hoehe. Image-Col streckt sich via
       align-self:stretch dagegen — kein Kreisreferenz-Problem. */
    align-items: start;
}
.m26_text_col {
    min-width: 0;
    padding-right: clamp(40px, 5vw, 80px);
    position: relative;
    overflow: visible;
}
.m26_text_slider { position: relative; z-index: 1; }
.m26_slider_footer { position: relative; z-index: 1; }
.m26_image_col {
    min-width: 0;
    position: relative;
    padding-left: clamp(40px, 5vw, 80px);
}

/* === Text-Slider === */
/* Slick setzt height via Inline-Style — !important erzwingt auto-Hoehe global.
   Bei fade:true ist der aktive Slide position:relative, inaktive sind absolute
   → Container passt sich immer dem Inhalt an, unabhaengig vom Viewport. */
.m26_text_slider .slick-list,
.m26_text_slider .slick-track { height: auto !important; }
.m26_text_slider .slick-list { overflow: visible; }
.m26_text_slider .slick-slide { padding: 0; }
.m26_text_slide { padding-top: 12px; }
.m26_slide_title {
    font-family: var(--hs-font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--hs-dark);
    margin: 0 0 28px;
}
.m26_slide_text {
    font-family: var(--hs-font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: var(--hs-text);
    margin-bottom: 32px;
    max-width: 740px;
}
.m26_quote_intro {
    font-family: var(--hs-font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: var(--hs-text);
    margin: 0 0 36px;
}
.m26_slide_quote {
    position: relative;
    font-family: var(--hs-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 1.8vw, 30px);
    line-height: 1.17;
    letter-spacing: 0.02em;
    color: var(--hs-dark);
    margin: 0;
    max-width: 660px;
}
.m26_testimonial_quote_mark {
    position: absolute;
    top: -30px;
    left: -40px;
    width: clamp(90px, 7vw, 114px);
    height: clamp(77px, 6vw, 97px);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* === Slider Footer (innerhalb Text-Spalte) === */
.m26_slider_footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}
.m26_progress {
    position: relative;
    width: 100%;
    max-width: 265px;
    height: 4px;
}
.m26_progress_track {
    position: absolute;
    inset: 0;
    background: #eaebed;
}
.m26_progress_bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    background: var(--hs-dark);
    transition: width 0.3s;
    min-width: 20px;
}
.m26_slider_nav {
    display: flex;
    gap: 25px;
}
.m26_slider_prev,
.m26_slider_next {
    /* Figma 9:153 / 9:157: 91 breit x 60 hoch (kompakte Proportion) */
    width: 91px;
    height: 60px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.m26_slider_prev svg,
.m26_slider_next svg {
    width: 36px;
    height: 12px;
    flex-shrink: 0;
}
.m26_slider_prev {
    background: #e5e6e7;
    color: #bbbec2;
}
/* Im Inactive-Zustand (Slider auf Slide 1) kein Hover-Effekt — der Klick
   bewirkt ohnehin nichts. Nur der .is-active-Zustand reagiert auf Hover. */
/* Aktiver Zustand: sobald der Slider nicht mehr auf Slide 1 ist, wird der
   Zurueck-Button gold (= gleiches Styling wie der Next-Button). */
.m26_slider_prev.is-active,
.m26_slider_next.is-active {
    background: var(--hs-gold);
    color: #fff;
}
.m26_slider_prev.is-active:hover { background: var(--hs-gold-dark); }
.m26_slider_prev.is-active:hover svg { transform: translateX(-4px); }
.m26_slider_next.is-active:hover { background: var(--hs-gold-dark); }
.m26_slider_prev:disabled,
.m26_slider_next:disabled { opacity: 0.4; cursor: default; }

/* === Bild-Spalte (rechts im Container) === */
.m26_image_slider_outer { width: 100%; }
.m26_image_slider_outer .slick-slide { padding: 0; }
.m26_image_outer_slide {
    width: 100%;
    height: 100%;
    position: relative;
}
.m26_image_inner_slider {
    --m26-img-h: 580px;
    position: relative;
    width: 100%;
    height: var(--m26-img-h);
    overflow: hidden;
}
.m26_image_slide_inner {
    width: 100%;
    height: var(--m26-img-h);
    overflow: hidden;
}
.m26_image_slide_inner img {
    width: 100%;
    height: var(--m26-img-h);
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dunkler Verlauf unten am Bild (Lesbarkeit der Dots) */
.m26_image_inner_slider::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Dots als horizontale Linien — zentriert IM Bild */
.m26_image_inner_slider .slick-dots {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 2;
}
.m26_image_inner_slider .slick-dots li {
    width: 69px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    transition: background 0.25s ease, height 0.25s ease;
    cursor: pointer;
}
.m26_image_inner_slider .slick-dots li:hover {
    background: rgba(255,255,255,0.6);
}
.m26_image_inner_slider .slick-dots li button {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 0;
    cursor: pointer;
}
/* Slick-Standard rendert ::before als kleinen Kreis — explizit entfernen */
.m26_image_inner_slider .slick-dots li button::before {
    display: none;
}
.m26_image_inner_slider .slick-dots li.slick-active { background: #fff; }

@media (max-width: 1199.98px) {
    .m26_image_inner_slider { --m26-img-h: 500px; }
    .m26_image_slide_inner  { height: var(--m26-img-h); }
    .m26_image_slide_inner img { height: var(--m26-img-h); }
}
@media (max-width: 991.98px) {
    .m26_image_inner_slider { --m26-img-h: 380px; }
    .m26_image_slide_inner  { height: var(--m26-img-h); }
    .m26_image_slide_inner img { height: var(--m26-img-h); }
    .m26_intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
    .m26_intro_right .m26_text { max-width: 100%; }
    .m26_divider { margin: 0 0 40px; }
    .m26_slider_wrap { display: block !important; }
    .m26_text_col, .m26_image_col {
        /* Container hat padding-right:0 (zentriert_ausfuellung_rechts) —
           rechts explizit denselben Wert wie der Container-Left setzen. */
        padding: 0 var(--hs-container-px) 0 0;
        margin-bottom: 30px;
    }
    /* Quote-Mark ohne left-bleed im stacked Layout */
    .m26_testimonial_quote_mark { top: 0; left: 0; }
    .m26_text_slider .slick-list { overflow: hidden; }
    /* max-width Constraints aufheben damit nichts rechts rauslaeuft */
    .m26_slide_quote { font-size: 22px; max-width: 100%; }
    .m26_slide_text { max-width: 100%; }
    .m26_slider_prev, .m26_slider_next { width: 60px; height: 70px; }
    .m26_progress { width: 100%; max-width: none; }
}
@media (max-width: 575.98px) {
    .m26_image_inner_slider { --m26-img-h: 260px; }
    .m26_image_slide_inner  { height: var(--m26-img-h); }
    .m26_image_slide_inner img { height: var(--m26-img-h); }
    .m26_slider_prev, .m26_slider_next { width: 48px; height: 48px; }
    .m26_slider_prev svg, .m26_slider_next svg { width: 28px; height: 10px; }
    /* Quote-Mark bleibt absolut aber ohne negative Offsets — kein Bleed */
    .m26_testimonial_quote_mark {
        top: 0;
        left: 0;
        width: 46px;
        height: 40px;
    }
    /* Blockquote gibt dem Text Platz unter dem Quote-Mark */
    .m26_slide_quote { padding-top: 28px; }
    /* Overflow sperren damit Slick-Höhe korrekt bleibt */
    .m26_text_slider .slick-list { overflow: hidden; }
    .m26_quote_intro { margin-bottom: 20px; }
    .m26_slider_footer { margin-top: 24px; grid-template-columns: 1fr; gap: 16px; }
    .m26_slider_nav { justify-content: flex-start; }
}
