.valora-cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid #dce5eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 30px rgb(0 46 91 / 20%);
    color: #20313f;
}

.valora-cookie-consent[hidden] {
    display: none;
}

.valora-cookie-consent p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.valora-cookie-consent a {
    margin-left: 6px;
    color: var(--secondary-color, #002e5b);
    text-decoration: underline;
}

.valora-cookie-consent__actions {
    display: flex;
    flex: 0 0 188px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.valora-cookie-consent .valora-cookie-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 9px 20px;
    border: 1px solid var(--primary-color, #00969d);
    border-radius: 22px;
    background: #fff;
    color: var(--secondary-color, #002e5b);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.valora-cookie-consent .valora-cookie-consent__accept {
    background: var(--primary-color, #00969d);
    color: #fff;
}

.valora-cookie-consent .valora-cookie-consent__reject {
    background: #f5f8fa;
}

.valora-cookie-consent .valora-cookie-consent__button:hover,
.valora-cookie-consent .valora-cookie-consent__button:focus-visible {
    background: var(--secondary-color, #002e5b);
    color: #fff;
}

html.fhw-cookie-accepted #valora-cookie-consent,
html.fhw-cookie-accepted #fhw_cookiehinweis,
#fhw_cookiehinweis.hidden {
    display: none !important;
}

#fhw_cookiehinweis {
    display: block !important;
}

#fhw_cookiehinweis > a {
    background-color: #000;
    color: var(--white, #fff) !important;
}

@media (max-width: 600px) {
    .valora-cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .valora-cookie-consent__actions {
        width: 100%;
    }
}
