/* Kundenstimmen (templates/Testimonial/_display.html.twig): weiße Box, leichter Rahmen und
   Schatten wie die News-Kästen, großes Anführungszeichen in Bordeaux, Foto rechts */

.Testimonials {
    margin: 1.5rem auto;
    max-width: 56rem;
}

.Testimonial {
    display: grid;
    grid-template-columns: 3.25rem 1fr auto;
    grid-template-areas:
        "mark quote  image"
        ".    author image"
        ".    link   image";
    grid-template-rows: auto auto 1fr;
    column-gap: 1.5rem;
    align-items: start;
    margin: 0 0 1rem;
    padding: 1.75rem 2rem;
    background: #fff;
    border: 1px solid #e9ccd6;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(153, 0, 51, 0.12);
    text-align: left;
}

.Testimonial__mark {
    grid-area: mark;
    width: 3.25rem;
    height: auto;
    fill: #990033;
    margin-top: 0.3rem;
}

/* Foundation gibt blockquote Rahmen und graue Schrift: hier zurücksetzen */
.Testimonial__quote,
.Testimonial__quote p {
    grid-area: quote;
    margin: 0;
    padding: 0;
    border: 0;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.55;
}

/* Theme färbt figcaption bordeaux (0a98328.css) */
.Testimonial__author {
    grid-area: author;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0;
    background: none;
    color: #333;
    font-size: 0.95rem;
}

.Testimonial__sep {
    color: #ccc;
    margin: 0 0.6rem;
}

.Testimonial__context {
    color: #777;
}

.Testimonial__image {
    grid-area: image;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #e9ccd6;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.Testimonial__avatar {
    display: none;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 1px solid #e9ccd6;
    border-radius: 4px;
}

.Testimonial__link {
    grid-area: link;
    margin-top: 0.6rem;
    font-size: 0.95rem;
    font-weight: bold;
}

.Testimonials__invite {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    text-align: right;
}

/* Mehrere Stimmen als Kacheln */

.Testimonials--tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
    max-width: none;
}

.Testimonials--tiles .Testimonial {
    grid-template-columns: 1fr;
    grid-template-areas: "mark" "quote" "author";
    grid-template-rows: auto 1fr auto;
    margin: 0;
    padding: 1.5rem;
}

.Testimonials--tiles .Testimonial__mark {
    width: 2.5rem;
    margin: 0 0 0.75rem;
}

.Testimonials--tiles .Testimonial__quote,
.Testimonials--tiles .Testimonial__quote p {
    font-size: 1.05rem;
}

.Testimonials--tiles .Testimonial__avatar {
    display: block;
}

/* Schmale Kacheln: Kurs-Angabe in eigener Zeile statt hinter dem Strich */
.Testimonials--tiles .Testimonial__sep {
    display: none;
}

.Testimonials--tiles .Testimonial__context {
    display: block;
}

.Testimonials--tiles .Testimonials__invite {
    grid-column: 1 / -1;
}

/* Handy: Foto klein beim Namen statt neben dem Text */

@media only screen and (max-width: 40em) {
    .Testimonial {
        grid-template-columns: 2.25rem 1fr;
        grid-template-areas:
            "mark   quote"
            "author author"
            "link   link";
        column-gap: 0.9rem;
        padding: 1.25rem;
    }

    .Testimonial__mark {
        width: 2.25rem;
    }

    .Testimonial__quote,
    .Testimonial__quote p {
        font-size: 1.05rem;
    }

    .Testimonial__image {
        display: none;
    }

    .Testimonial__avatar {
        display: block;
    }

    .Testimonial__sep {
        display: none;
    }

    .Testimonial__context {
        display: block;
    }

    .Testimonials__invite {
        text-align: left;
    }
}

/* Formular "Eure Meinung" */

.TestimonialForm__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.TestimonialForm__consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 1rem 0;
    padding: 1rem;
    background: #faf3f5;
    border-radius: 3px;
}

.TestimonialForm__consent input {
    margin-top: 0.3rem;
}

.TestimonialForm__consent label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.TestimonialThanks {
    padding: 1.5rem;
    background: #faf3f5;
    border-top: 4px solid #990033;
    border-radius: 3px;
}
