/* Hinweisbanner Startseite (DCE dce_hinweisbanner) – Variante "Sanftes Gelb" */

/* Einblenden: Höhe (inkl. Abstände) fährt von 0 auf, der Inhalt blendet leicht versetzt ein.
   Grid-Zeile 0fr -> 1fr animiert auf die natürliche Höhe, funktioniert in allen aktuellen Browsern. */
.hint-banner-col {
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
    animation: hint-banner-open .7s cubic-bezier(.4, 0, .2, 1) .2s both;
}

.hint-banner-col[hidden] {
    display: none;
}

@keyframes hint-banner-open {
    from {
        grid-template-rows: 0fr;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hint-banner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 0;
    background: linear-gradient(315deg, transparent 1rem, #FBF3CF 0) bottom right;
    animation: hint-banner-in .6s ease-out .45s both;
}

@keyframes hint-banner-in {
    from {
        opacity: 0;
        transform: translateY(-.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hint-banner-col,
    .hint-banner {
        animation: none;
    }
}

/* Label-Block links */
.hint-banner__label {
    flex: 0 0 12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .45rem;
    padding: 1.25rem 1.5rem;
    border-right: 3px solid #E8CF5A;
}

.hint-banner__label-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.hint-banner__label-icon svg * {
    fill: #C9A400;
}

.hint-banner__kicker {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8A6D00;
}

.hint-banner__headline {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
}

/* Einträge */
.hint-banner__item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, .08);
}

.hint-banner__label + .hint-banner__item {
    border-left: 0;
}

.hint-banner__icon {
    flex: 0 0 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
}

.hint-banner__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.hint-banner__icon svg * {
    fill: #B08D00;
}

.hint-banner__text {
    flex: 1;
}

.hint-banner__text h3 {
    margin: 0 0 .15rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
}

.hint-banner__text p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.35;
    color: #333;
}

/* Buttons */
.hint-banner__button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem;
    font-size: .85rem;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
}

/* Global gilt "a:visited { color: inherit }" – sonst schwarzer Text auf schwarzem Button */
.hint-banner__button:visited,
.hint-banner__button:hover,
.hint-banner__button:focus {
    color: #fff;
    opacity: .85;
}

.hint-banner__button--black {
    background-color: #000;
}

.hint-banner__button--green {
    background-color: #9FB83D;
}

.hint-banner__arrow {
    display: inline-flex;
    transform: rotate(270deg);
}

.hint-banner__arrow svg {
    width: .7rem;
    height: .7rem;
}

.hint-banner__arrow svg * {
    fill: #fff;
    stroke: #fff;
    stroke-width: 6px;
}

/* Schließen */
.hint-banner__close {
    position: absolute;
    top: .3rem;
    right: .45rem;
    padding: .1rem .3rem;
    border: 0;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
}

.hint-banner__close:hover,
.hint-banner__close:focus {
    color: #000;
}

/* Tablet hochkant und kleiner: untereinander */
@media (max-width: 1020px) {
    .hint-banner {
        flex-direction: column;
    }

    .hint-banner__label {
        flex: none;
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.25rem;
        border-right: 0;
        border-bottom: 3px solid #E8CF5A;
    }

    .hint-banner__kicker {
        display: none;
    }

    .hint-banner__item {
        flex-wrap: wrap;
        padding: 1rem 1.25rem;
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .hint-banner__label + .hint-banner__item {
        border-top: 0;
    }

    .hint-banner__text {
        flex: 1 1 calc(100% - 4rem);
    }

    .hint-banner__button {
        margin-left: 3.9rem;
    }
}
