.callout-container {
    width: min(880px, 100% - 40px);
    margin-inline: auto;
    padding-block: 2rem;
}

/*-- Basis-Karte – gilt für Zitat, Praxistipp, Achtung, Hinweis --*/

.callout-card {
    --callout-accent: var(--deep-turquiose);
    --callout-bg: var(--light-beige);
    --callout-border: var(--light-grey);

    position: relative;
    background: var(--callout-bg);
    border: 1px solid var(--callout-border);
    border-radius: 28px;
    padding: 42px 28px 28px;
}

.callout-card__badge {
    position: absolute;
    top: 0;
    left: 28px;
    transform: translateY(-45%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--callout-accent);
    border: 1px solid var(--callout-border);
}

.callout-card__badge svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* Eigenes Icon hochgeladen: heller, gerahmter Badge, Icon in Originalfarbe */
.callout-card__badge--image {
    background: #fff;
    border: 1px solid var(--callout-border);
    box-shadow: none;
}

.callout-card__badge--image img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.callout-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callout-card__label {
    color: var(--callout-accent);
}

.callout-card__title {
    margin: 0;
    color: var(--dark);
    font-size: 1.15rem;
    line-height: 1.3;
}

.callout-card__text {
    color: var(--dark);
    line-height: 1.65;
}

.callout-card__text ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 1em 0;
}

.callout-card__text ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin: 1em 0;
}

.callout-card__text li {
    margin-bottom: 0.5em;
}

.callout-card__text strong,
.callout-card__text b {
    font-weight: 700;
}

.callout-card__text p {
    margin: 0 0 1em;
}

.callout-card__text > :first-child { margin-top: 0; }
.callout-card__text > :last-child  { margin-bottom: 0; }

.callout-card__text a {
    color: var(--callout-accent);
}

.callout-card__author {
    margin: 0;
    color: var(--co-muted);
    font-style: italic;
    font-weight: 700;
}

.callout-card__author::before {
    content: "— ";
}

.callout-card__deco {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-inline: 1.5rem;
}

.callout-card__deco img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 10rem;
    object-fit: contain;
    transform: translateY(51px);
}

/* -- Typen --*/

.callout-card--quote {
    --callout-bg: var(--light-beige, #fdfaf5);
    --callout-border: var(--light-grey, #e6e6e6);
}

.callout-card--quote .callout-card__text {
    font-style: italic;
}

.callout-card--note {
    --callout-accent: #3d6fa6;
    --callout-bg: #eef2f8;
    --callout-border: #d6e0ee;
}

.callout-card--warning {
    --callout-accent: #c07d1e;
    --callout-bg: #fbf4e6;
    --callout-border: #ecdcc0;
}

/* -------------------Desktop-------------------  */
@media screen and (min-width: 53em) {
    .callout-card {
        padding: 44px 34px 30px;
    }

    .callout-card__badge {
        left: 32px;
        width: 56px;
        height: 56px;
    }

    .callout-card__badge svg {
        width: 28px;
        height: 28px;
    }

    .callout-card__badge--image img {
        max-width: 32px;
        max-height: 32px;
    }

    .callout-card__deco {
        flex: 1 1 40%;
        padding: 0;
    }

    .callout-card__deco img {
        height: 100%;
        max-height: 15rem;
        max-width: 100%;
        object-position: bottom center;
        transform: translateY(64px);
    }
}

@media screen and (min-width: 23em) {}
@media screen and (min-width: 42em) {}
@media screen and (min-width: 73em) {}