:root {
    --fk-bahn-wine: #6f2f2b;
    --fk-bahn-wine-dark: #52211e;
    --fk-bahn-gold: #c7a56a;
    --fk-bahn-cream: #fffaf1;
    --fk-bahn-text: #342b28;
}

.fk-bahn-hinweis {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(760px, calc(100% - 32px));
    padding: 12px 48px 12px 15px;
    color: var(--fk-bahn-text);
    background: rgba(255, 250, 241, .98);
    border: 1px solid rgba(111, 47, 43, .22);
    border-left: 5px solid var(--fk-bahn-wine);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(34, 24, 20, .18);
    font-family: inherit;
    line-height: 1.35;
    z-index: 99998;
}

.fk-bahn-hinweis--floating {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
}

.fk-bahn-hinweis--inline {
    position: relative;
    margin: 24px auto;
}

.fk-bahn-hinweis__icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--fk-bahn-wine);
    border-radius: 50%;
}

.fk-bahn-hinweis__icon svg { width: 21px; height: 21px; fill: currentColor; }
.fk-bahn-hinweis__content { display: flex; flex: 1 1 auto; min-width: 0; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fk-bahn-hinweis__eyebrow { width: 100%; color: var(--fk-bahn-wine); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.fk-bahn-hinweis__headline { font-size: 17px; color: var(--fk-bahn-wine-dark); }
.fk-bahn-hinweis__text { font-size: 14px; }

.fk-bahn-hinweis__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    color: #fff !important;
    background: var(--fk-bahn-wine);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}
.fk-bahn-hinweis__button:hover,
.fk-bahn-hinweis__button:focus { background: var(--fk-bahn-wine-dark); transform: translateY(-1px); }

.fk-bahn-hinweis__close {
    position: absolute;
    top: 7px;
    right: 9px;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #6a5a55;
    background: transparent;
    cursor: pointer;
    font: 24px/27px Arial, sans-serif;
}
.fk-bahn-hinweis__close:hover,
.fk-bahn-hinweis__close:focus { background: rgba(111, 47, 43, .09); color: var(--fk-bahn-wine); }
.fk-bahn-hinweis.is-hidden { display: none; }

@media (max-width: 680px) {
    .fk-bahn-hinweis { align-items: flex-start; gap: 10px; padding: 11px 39px 11px 11px; }
    .fk-bahn-hinweis--floating { bottom: 10px; width: calc(100% - 20px); }
    .fk-bahn-hinweis__icon { flex-basis: 34px; width: 34px; height: 34px; }
    .fk-bahn-hinweis__content { display: block; }
    .fk-bahn-hinweis__eyebrow, .fk-bahn-hinweis__headline, .fk-bahn-hinweis__text { display: block; }
    .fk-bahn-hinweis__headline { font-size: 16px; }
    .fk-bahn-hinweis__text { margin-top: 2px; font-size: 13px; }
    .fk-bahn-hinweis__button { margin-top: 3px; padding: 7px 9px; font-size: 0; }
    .fk-bahn-hinweis__button span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .fk-bahn-hinweis__button { transition: none; }
}
