.m-quote__content {
    position: relative;
    overflow: visible;
}


.m-quote__headline {
    position: relative;
    margin-bottom: 2.5rem;
    color: var(--vt-color-primary);
    font-size: 1.333333333333333rem;
    line-height: 1.75;
    z-index: 1;
}

/* Großes Hintergrund-Anführungszeichen */
.m-quote__headline::before {
    content: "“";
    position: absolute;
    top: -7rem;
    left: -2rem;

    font-size: 22rem;
    line-height: 1;
    font-weight: 700;

    color: var(--vt-color-blue-soft);
    opacity: 0.22;

    z-index: -1;
    pointer-events: none;
}



.m-quote__headline-text {
    display: block;
}

.m-quote__text {
    position: relative;
    z-index: 1;
    color: var(--vt-color-primary);
    padding-top: 1rem;
    font-weight: 600;
}

/* Premium-Autorbereich */
.m-quote__text::before {
 background-image: url(/wp-content/themes/vorlesetag/assets/images/underline-blue.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50% auto;
    content: "";
    position: relative;
    z-index: -1;
    display: inline-block;
    width: calc(100% + 20px);
    height: 12px;
    transform: translate(-10px, -0.5em);
}

.m-quote__text p:last-child {
    margin-bottom: 1rem;
}

/* Wenn dein Autor aktuell als letzter Absatz kommt */
.m-quote__text p:last-child {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--vt-color-primary);
}

.m-quote__text p:last-child strong,
.m-quote__text p:last-child b {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
}

/* Bildbereich wie Modul Image */

.m-quote__media {
    position: relative;
    display: inline-block;
    width: 100%;
}

.m-quote__shape {
    position: absolute;
    z-index: 1;
    border-radius: var(--vt-radius-lg);
    pointer-events: none;
}

.m-quote__shape--top {
    top: -1em;
    right: -2.5em;
    width: 50%;
    height: 40%;
    background-color: var(--vt-color-rose-soft);
    transition: transform 0.7s;
}

.m-quote__shape--bottom {
    left: -3.5em;
    bottom: -1em;
    width: 26%;
    height: 26%;
    background-color: var(--vt-color-blue-soft);
    transition: transform 0.4s;
}

.m-quote__image-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--vt-radius-lg);
    overflow: hidden;
    z-index: 2;
}

.m-quote__image-link {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    background: transparent;
    border-radius: inherit;
    overflow: hidden;
}

.m-quote__image-link::after {
    content: "+";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 3.25rem;
    height: 3.25rem;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #f24f11;

    border-top-left-radius: 1rem;

    font-size: 2rem;
    line-height: 1;
    font-weight: 400;

    z-index: 2;
    pointer-events: none;
}
.m-quote__image-link img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    padding: 0;
    margin: 0;
    object-fit: cover;
    transition: transform .5s;
}

.m-quote__image {
    display: block;
    width: 100%;
    height: auto;
}

.m-quote__image-wrap:hover img,
.m-quote__image-link img:hover {
    transform: scale(1.02);
}

.m-quote__media:hover .m-quote__shape--top {
    transform: translate(-10px, 10px);
}

.m-quote__media:hover .m-quote__shape--bottom {
    transform: translate(+10px, -10px);
}


.m-quote__credit-side {
    position: absolute;
    top: 0.5rem;
    right: -2em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1.2;
    color: var(--vt-color-text);
    z-index: 3;
}

.m-quote__credit-bottom {
    margin-top: 0.75rem;
    position: relative;
    z-index: 2;
    text-align: right;
}

.m-quote__headline {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .m-quote__content {
        text-align: center;
    }

    .m-quote__content::before {
        left: 50%;
        transform: translateX(-50%);
        top: -4rem;
        font-size: 14rem;
    }

    .m-quote__text::before {
        margin-left: auto;
        margin-right: auto;
    }

    .m-quote__media {
        max-width: 420px;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .m-quote__headline {
        margin-bottom: 1.75rem;
        padding-left: 0;
        padding-right: 0;
    }

    .m-quote__content::before {
        top: -3rem;
        font-size: 10rem;
        opacity: 0.25;
    }

    .m-quote__mark {
        font-size: 3rem;
    }

    .m-quote__shape--top {
        right: -1.25em;
        width: 50%;
        height: 40%;
    }

    .m-quote__shape--bottom {
        left: -1.25em;
        width: 26%;
        height: 26%;
    }

    .m-quote__credit-bottom {
        text-align: left;
    }

    .m-quote__credit-side {
        margin-bottom: 1em;
        position: relative;
        top: auto;
        right: auto;
        margin-top: 0.5rem;
        writing-mode: horizontal-tb;
        transform: none;
        line-height: 1.3;
        text-align: left;
    }
}