/*
 * Inhalts-Bausteine: YouTube-Vorschau, Partner-Logos, Zitat mit Foto.
 * Wie content.css im Frontend UND im Block-Editor geladen (nach content.css).
 */
/* --- YouTube: Vorschaubild mit Play-Button (inc/video.php) --- */
.entry-content .yt-fassade {
    display: block;
    padding: 0;
    margin: 0;
    background: var(--dark);
    overflow: hidden;
    cursor: pointer;
}

.entry-content .yt-fassade__bild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease, filter .3s ease;
}

.entry-content .yt-fassade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.4));
}

.entry-content .yt-fassade__play svg { width: 88px; height: 62px; }

.entry-content .yt-fassade__play-bg { fill: var(--green); transition: fill .2s ease; }

.entry-content .yt-fassade:hover .yt-fassade__play-bg,
.entry-content .yt-fassade:focus-visible .yt-fassade__play-bg { fill: var(--green-dark); }

.entry-content .yt-fassade:hover .yt-fassade__bild { transform: scale(1.02); filter: brightness(.92); }

.entry-content .yt-fassade:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* --- Partner-Logos (Block bbwind/partner-logos) --- */
.entry-content .partner-logos {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.entry-content .partner-logos__item {
    flex: 1 1 220px;
    max-width: 320px;
    height: 120px;
    margin: 0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: var(--radius);
}

.entry-content .partner-logos__img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* --- Zitat mit Foto (Block bbwind/zitat) --- */
.entry-content .zitat {
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    align-items: center;
    margin: 3rem 0 0;
    padding: 44px 48px;
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
}

.entry-content .zitat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--green);
}

.entry-content .zitat--ohne-foto { grid-template-columns: 1fr; }

.entry-content .zitat__foto {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid var(--green);
    display: block;
}

.entry-content .zitat__text { margin: 0; padding: 0; border: 0; }

.entry-content .zitat__text p {
    margin: 0;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.7;
}

.entry-content .zitat__absender { margin-top: 20px; }

.entry-content .zitat__absender strong {
    display: block;
    color: var(--green);
    font-weight: 600;
    font-size: 1rem;
}

.entry-content .zitat__absender span {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .entry-content .yt-fassade__play svg { width: 68px; height: 48px; }
    .entry-content .zitat {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 24px;
        text-align: center;
    }
    .entry-content .zitat__foto { width: 120px; height: 120px; margin: 0 auto; }
    .entry-content .zitat__text p { font-size: 1.05rem; }
    .entry-content .partner-logos { gap: 12px; }
    .entry-content .partner-logos__item { flex-basis: 130px; height: 80px; padding: 14px 16px; }
    .entry-content .partner-logos__img { max-height: 40px; }
}

/* --- Kennzahlen-Kasten (Block bbwind/kennzahlen und Startseite) --- */
/* Ohne .entry-content davor, damit der Kasten auch in Theme-Vorlagen nutzbar ist. */
.keyfacts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    background: #fff;
    color: var(--dark);
    border: 1px solid #e2e2e2;
    border-radius: var(--radius);
    padding: 30px 18px;
    margin: 2rem 0 2.5rem;
    text-align: center;
}

.keyfacts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px;
}

.keyfacts__icon svg { width: 36px; height: 36px; display: block; color: var(--green); }

.keyfacts__num { font-size: 1.55rem; font-weight: 800; line-height: 1; color: var(--dark); }

.keyfacts__label { font-size: .78rem; font-weight: 600; line-height: 1.3; color: var(--gray); }
@media (max-width: 780px) {
.keyfacts { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}@media (max-width: 430px) {
.keyfacts { grid-template-columns: 1fr; }
}

/* Eigener Abschnitt auf der Startseite */
.keyfacts-section { padding: 56px 0 8px; }
.keyfacts-section .keyfacts { margin: 0; }
