html.mr-site-notice-dismissed .mr-site-notice {
    display: none !important;
}

.mr-site-notice {
    position: relative;
    z-index: 1001;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
    color: #121212;
    background: linear-gradient(105deg, #c9a562 0%, #e0c489 50%, #c9a562 100%);
    border-bottom: 3px solid #9f111d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.mr-site-notice::before {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 10px, transparent 10px 22px);
    content: "";
    pointer-events: none;
}

.mr-site-notice__inner {
    position: relative;
    z-index: 1;
    display: flex;
    box-sizing: border-box;
    width: min(1240px, 100%);
    min-height: 68px;
    align-items: center;
    justify-content: center;
    padding-inline: 56px;
}

.mr-site-notice__content {
    display: flex;
    min-width: 0;
    min-height: 68px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    column-gap: clamp(36px, 4.5vw, 64px);
    color: inherit;
}

a.mr-site-notice__content {
    text-decoration: none;
}

.mr-site-notice__content::before {
    flex: 0 0 auto;
    padding: 8px 12px 8px 30px;
    color: #a20f1b;
    background:
        radial-gradient(circle at 17px 50%, #d61f2c 0 4px, transparent 4.5px),
        #fff;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
    content: "AKTUELL";
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    animation: mr-site-notice-pulse 1.8s ease-out infinite;
}

.mr-site-notice__content[href*="/stellenangebote/"]::before {
    content: "WIR STELLEN EIN";
}

a.mr-site-notice__content::after {
    flex: 0 0 auto;
    padding: 10px 15px;
    color: #fff;
    background: #9f111d;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .24);
    content: "Mehr erfahren";
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    transition: color 160ms, background-color 160ms, transform 160ms;
}

.mr-site-notice__content[href*="/stellenangebote/"]::after {
    content: "Jetzt bewerben";
}

a.mr-site-notice__content:hover,
a.mr-site-notice__content:focus-visible {
    color: #121212;
    text-decoration: none;
}

a.mr-site-notice__content:hover::after,
a.mr-site-notice__content:focus-visible::after {
    color: #24170a;
    background: #fff;
    transform: translateY(-1px);
}

a.mr-site-notice__content:focus-visible {
    outline: 2px solid #121212;
    outline-offset: -4px;
}

.mr-site-notice__close {
    position: absolute;
    top: 50%;
    right: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(62, 30, 12, .72);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
    font-size: 0;
    line-height: 1;
    transform: translateY(-50%);
    transition: color 160ms, background-color 160ms, transform 160ms;
}

.mr-site-notice__close span {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
}

.mr-site-notice__close span::before,
.mr-site-notice__close span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
    transform-origin: center;
}

.mr-site-notice__close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mr-site-notice__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mr-site-notice__close:hover,
.mr-site-notice__close:focus-visible {
    color: #9f111d;
    background: #fff;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

@keyframes mr-site-notice-pulse {
    0% {
        box-shadow: 0 5px 14px rgba(0, 0, 0, .2), 0 0 0 0 rgba(214, 31, 44, .55);
    }
    70% {
        box-shadow: 0 5px 14px rgba(0, 0, 0, .2), 0 0 0 7px rgba(214, 31, 44, 0);
    }
    100% {
        box-shadow: 0 5px 14px rgba(0, 0, 0, .2), 0 0 0 0 rgba(214, 31, 44, 0);
    }
}

@media (max-width: 700px) {
    .mr-site-notice {
        min-height: 88px;
        padding-inline: 8px;
        font-size: 15px;
    }

    .mr-site-notice__inner {
        width: 100%;
        min-height: 88px;
        padding-inline: 26px;
    }

    .mr-site-notice__content {
        min-height: 88px;
        flex-wrap: wrap;
        gap: 6px 10px;
        padding-block: 8px;
    }

    .mr-site-notice__content::before {
        padding: 6px 8px 6px 24px;
        background:
            radial-gradient(circle at 13px 50%, #d61f2c 0 3.5px, transparent 4px),
            #fff;
        font-size: 10px;
    }

    a.mr-site-notice__content::after {
        padding: 7px 11px;
        font-size: 12px;
    }

    .mr-site-notice__close {
        width: 34px;
        height: 34px;
    }

    .mr-site-notice__close span {
        width: 14px;
        height: 14px;
    }

    .mr-site-notice__close span::before,
    .mr-site-notice__close span::after {
        width: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mr-site-notice__content::before {
        animation: none;
    }

    a.mr-site-notice__content::after,
    .mr-site-notice__close {
        transition: none;
    }
}
