/**
 * Umfragen – Laufende / Beendete (Layout 1000px, Barlow).
 */

.ff-content-wrap:has(> main.ff-main.ff-umfragen-page) {
    background: #fff !important;
}

.ff-umfragen-page.ff-main {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    padding-top: 18px;
    box-sizing: border-box;
    background: #fff;
    /*
     * Kurze Seite + kompakter Header: --ff-header-stack-h ändert sich beim Scrollen,
     * padding-top am .ff-content-wrap springt → unten sichtbares Wackeln.
     * Mindesthöhe = genug Scroll-Puffer, ohne den Header anzufassen.
     */
    min-height: calc(100dvh + 150px);
}

.ff-umfragen-page a {
    color: inherit;
    text-decoration: none;
}

.ff-umfragen-page a:hover {
    color: #b43526;
}

.ff-umfragen-page a:focus {
    outline: none;
}

.ff-umfragen-page a:focus-visible {
    outline: 2px solid #b43526;
    outline-offset: 2px;
}

.ff-umfragen-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 200px;
    box-sizing: border-box;
}

/* ===== Sektion: Laufende Umfragen ===== */
.ff-umfragen-section--laufend {
    width: 100%;
}

.ff-umfragen-section-title {
    margin: 0 0 28px;
    padding: 0;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

/* Oben: unverändert breit (661) + schmal (312) */
.ff-umfragen-laufend-feature {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 27px;
    width: 100%;
    max-width: 1000px;
    margin: 0 0 32px;
}

.ff-umfragen-laufend-feature--repeat {
    margin-top: 32px;
}

.ff-umfragen-laufend-more--repeat {
    margin-bottom: 0;
}

.ff-umfragen-laufend-more:not(:last-child) {
    margin-bottom: 32px;
}

.ff-umfragen-laufend-feature .ff-umfragen-card--wide {
    flex: 0 0 661px;
    width: 661px;
    max-width: 661px;
}

.ff-umfragen-laufend-feature .ff-umfragen-card--narrow {
    flex: 0 0 312px;
    width: 312px;
    max-width: 312px;
}

/* Darunter: andere Breiten, gleiche Rahmenhöhe */
.ff-umfragen-laufend-more {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 27px;
    width: 100%;
    max-width: 1000px;
    align-items: start;
}

.ff-umfragen-laufend-more .ff-umfragen-card {
    width: 100%;
    max-width: none;
}

.ff-umfragen-laufend-more .ff-umfragen-card--wide {
    grid-column: span 8;
}

.ff-umfragen-laufend-more .ff-umfragen-card--narrow {
    grid-column: span 4;
}

.ff-umfragen-laufend-more .ff-umfragen-card--third {
    grid-column: span 4;
}

.ff-umfragen-laufend-more .ff-umfragen-card--full {
    grid-column: span 12;
}

.ff-umfragen-section--laufend .ff-umfragen-card-frame {
    height: 404px;
}

/* ===== Kachel ===== */
.ff-umfragen-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.ff-umfragen-card--wide {
    flex: 0 0 661px;
    width: 661px;
    max-width: 661px;
}

.ff-umfragen-card--narrow {
    flex: 0 0 312px;
    width: 312px;
    max-width: 312px;
}

.ff-umfragen-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 12px;
    min-width: 0;
}

.ff-umfragen-card-days {
    margin: 0 0 8px;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    color: #8a8a8a;
}

.ff-umfragen-card-topic {
    margin: 0 0 2px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    color: #b43526;
}

.ff-umfragen-card-title {
    margin: 0 0 8px;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
}

.ff-umfragen-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-card-cta-arrow {
    display: block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.ff-umfragen-card-bookmark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 10px;
    height: 14px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #5d5d5d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ff-umfragen-card-bookmark::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.ff-umfragen-card-bookmark:hover,
.ff-umfragen-card-bookmark:focus:not(:focus-visible),
.ff-umfragen-card-bookmark:active {
    outline: none !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #000;
}

.ff-umfragen-card-bookmark:focus-visible {
    outline: 2px solid #b43526 !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

.ff-umfragen-bookmark-icon {
    display: block;
    width: 10px;
    height: 14px;
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.2s ease;
    will-change: transform;
}

.ff-umfragen-card-bookmark:hover .ff-umfragen-bookmark-icon,
.ff-umfragen-card-bookmark:focus:not(:focus-visible) .ff-umfragen-bookmark-icon {
    transform: scale(1.14);
}

.ff-umfragen-card-bookmark:active .ff-umfragen-bookmark-icon {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .ff-umfragen-bookmark-icon {
        transition: none;
    }

    .ff-umfragen-card-bookmark:hover .ff-umfragen-bookmark-icon,
    .ff-umfragen-card-bookmark:focus:not(:focus-visible) .ff-umfragen-bookmark-icon,
    .ff-umfragen-card-bookmark:active .ff-umfragen-bookmark-icon {
        transform: scale(1);
    }
}

.ff-umfragen-card-bookmark.is-saved {
    color: #000;
}

.ff-umfragen-card-bookmark.is-saved .ff-umfragen-bookmark-icon path {
    fill: #000;
    stroke: #000;
}

/* Mein FF auf Umfragen-Seiten */
.ff-umfragen-meinff-guest-hint,
.ff-umfragen-meinff-empty {
    margin: 32px 0 0;
    padding: 24px 16px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #5d5d5d;
}

.ff-umfragen-meinff-guest-prompt {
    margin: 0;
    padding: 0;
    text-align: left;
}

.ff-umfragen-meinff-guest-hint[hidden],
.ff-umfragen-meinff-empty[hidden],
.ff-umfragen-meinff-content[hidden] {
    display: none !important;
}

/* Bild-Rahmen (Platzhalter) */
.ff-umfragen-card-frame-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.ff-umfragen-card-frame-link:hover,
.ff-umfragen-card-frame-link:focus {
    color: inherit;
    text-decoration: none;
}

.ff-umfragen-card-frame-link:focus-visible {
    outline: 2px solid #b43526;
    outline-offset: 2px;
}

.ff-umfragen-card-frame {
    display: block;
    width: 100%;
    height: 404px;
    border: 1px solid #cbcbcb;
    background: #fff;
    box-sizing: border-box;
}

/* ===== Einzelansicht Umfrage ===== */
.ff-umfragen-single-page.ff-main {
    min-height: calc(100dvh + 150px);
}

.ff-umfragen-single {
    width: 100%;
}

.ff-umfragen-single-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: 100%;
    max-width: 570px;
    margin: 0 auto 24px;
    padding: 0;
    box-sizing: border-box;
}

.ff-umfragen-single-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-single-intro {
    margin: 0 0 36px;
    padding: 0;
    width: 100%;
    max-width: 570px;
    text-align: left;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 110%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-single-start.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 10px;
    width: 166px;
    min-width: 166px;
    max-width: 166px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 15px;
    border: 2px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    transition: color 0.25s, border-color 0.25s;
}

.ff-umfragen-single-start.ff-btn-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #c62828;
    transform: skew(30deg) translate3d(-100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: -1;
}

.ff-umfragen-single-start.ff-btn-slide:hover,
.ff-umfragen-single-start.ff-btn-slide:focus-visible {
    color: #fff;
    border-color: #c62828;
    text-decoration: none;
    background: transparent;
}

.ff-umfragen-single-start.ff-btn-slide:hover::before,
.ff-umfragen-single-start.ff-btn-slide:focus-visible::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

.ff-umfragen-single-start.ff-btn-slide:focus-visible {
    outline: 2px solid #b43526;
    outline-offset: 2px;
}

.ff-umfragen-single-start-text {
    display: block;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
}

.ff-umfragen-single-start-arrow {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    min-width: 12px;
    color: currentColor;
    position: relative;
    z-index: 1;
    transition: color 0.25s;
}

.ff-umfragen-single-hero-frame {
    width: 570px;
    max-width: 100%;
    height: 379px;
    margin: 0 auto;
    border: 1px solid #cbcbcb;
    background: #fff;
    box-sizing: border-box;
}

/* ===== Umfrage: Fragen-Schritt ===== */
.ff-umfragen-question-page.ff-main {
    min-height: calc(100dvh + 150px);
}

.ff-umfragen-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ff-umfragen-question-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: 100%;
    max-width: 570px;
    margin: 0 auto 36px;
    padding: 0;
    box-sizing: border-box;
}

.ff-umfragen-question-topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    width: 100%;
    margin: 0 0 28px;
}

.ff-umfragen-question-survey-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-question-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-question-text {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 570px;
    text-align: left;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 110%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-question-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ff-umfragen-question-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.ff-umfragen-question-frame {
    position: relative;
    width: 570px;
    max-width: 100%;
    height: 379px;
    border: 1px solid #cbcbcb;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
    scroll-margin-top: var(--ff-header-stack-h, 0px);
}

.ff-umfragen-question:not(.is-started) .ff-umfragen-question-frame {
    background: #ececec;
}

.ff-umfragen-question:not(.is-started) .ff-umfragen-question-frame-img {
    filter: grayscale(1);
}

.ff-umfragen-question.is-started .ff-umfragen-question-frame {
    background: #fff;
}

.ff-umfragen-question.is-started .ff-umfragen-question-frame-img {
    filter: grayscale(0);
}

.ff-umfragen-question-start-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 36px;
}

.ff-umfragen-question-toggle.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 166px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 15px;
    border: 2px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    transition: color 0.25s, border-color 0.25s;
}

.ff-umfragen-question-toggle-text[hidden],
.ff-umfragen-question-toggle-icon[hidden] {
    display: none !important;
}

.ff-umfragen-question.is-started .ff-umfragen-question-toggle {
    min-width: 189px;
}

.ff-umfragen-question-toggle-icon {
    display: block;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    color: currentColor;
    transition: color 0.25s;
}

.ff-umfragen-question-toggle-icon--start .ff-umfragen-single-start-arrow {
    display: block;
    width: 12px;
    height: 12px;
}

.ff-umfragen-question-toggle-icon--cancel .ff-umfragen-question-cancel-icon {
    display: block;
    width: 16px;
    height: 16px;
    transform: none;
}

.ff-umfragen-question:not(.is-started) .ff-umfragen-question-answer,
.ff-umfragen-question:not(.is-started) .ff-umfragen-question-submit {
    pointer-events: none;
    filter: grayscale(1);
    opacity: 0.55;
}

.ff-umfragen-question.is-started .ff-umfragen-question-answer,
.ff-umfragen-question.is-started .ff-umfragen-question-submit {
    pointer-events: auto;
    filter: grayscale(0);
    opacity: 1;
}

.ff-umfragen-question-answer.is-selected {
    color: #fff;
    border-color: #c62828;
    background: transparent;
}

.ff-umfragen-question-answer.is-selected::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

.ff-umfragen-question-submit-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.ff-umfragen-question-submit.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 188px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 15px;
    border: 2px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s, border-color 0.25s, opacity 0.25s;
}

.ff-umfragen-question-submit.ff-btn-slide[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.ff-umfragen-question.is-started .ff-umfragen-question-submit.ff-btn-slide[aria-disabled="true"] {
    filter: grayscale(0);
    opacity: 0.45;
}

.ff-umfragen-question-submit-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.ff-umfragen-question-submit .ff-umfragen-question-next-arrow {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    min-width: 12px;
    color: currentColor;
    position: relative;
    z-index: 1;
    transition: color 0.25s;
}

.ff-umfragen-question-answer.ff-btn-slide,
.ff-umfragen-thanks-submit.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 98px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    padding: 5px 11px;
    border: 1px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.005em;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s, border-color 0.25s;
}

.ff-umfragen-question-answer.ff-btn-slide::before,
.ff-umfragen-question-next.ff-btn-slide::before,
.ff-umfragen-question-cancel.ff-btn-slide::before,
.ff-umfragen-question-toggle.ff-btn-slide::before,
.ff-umfragen-question-submit.ff-btn-slide::before,
.ff-umfragen-thanks-submit.ff-btn-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #c62828;
    transform: skew(30deg) translate3d(-100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: -1;
}

.ff-umfragen-question-answer.ff-btn-slide:hover,
.ff-umfragen-question-answer.ff-btn-slide:focus-visible,
.ff-umfragen-question-next.ff-btn-slide:hover,
.ff-umfragen-question-next.ff-btn-slide:focus-visible,
.ff-umfragen-question-cancel.ff-btn-slide:hover,
.ff-umfragen-question-cancel.ff-btn-slide:focus-visible,
.ff-umfragen-question-toggle.ff-btn-slide:hover,
.ff-umfragen-question-toggle.ff-btn-slide:focus-visible,
.ff-umfragen-question-submit.ff-btn-slide:hover,
.ff-umfragen-question-submit.ff-btn-slide:focus-visible,
.ff-umfragen-thanks-submit.ff-btn-slide:hover,
.ff-umfragen-thanks-submit.ff-btn-slide:focus-visible {
    color: #fff;
    border-color: #c62828;
    text-decoration: none;
    background: transparent;
}

.ff-umfragen-question-answer.ff-btn-slide:hover::before,
.ff-umfragen-question-answer.ff-btn-slide:focus-visible::before,
.ff-umfragen-question-next.ff-btn-slide:hover::before,
.ff-umfragen-question-next.ff-btn-slide:focus-visible::before,
.ff-umfragen-question-cancel.ff-btn-slide:hover::before,
.ff-umfragen-question-cancel.ff-btn-slide:focus-visible::before,
.ff-umfragen-question-toggle.ff-btn-slide:hover::before,
.ff-umfragen-question-toggle.ff-btn-slide:focus-visible::before,
.ff-umfragen-question-submit.ff-btn-slide:hover::before,
.ff-umfragen-question-submit.ff-btn-slide:focus-visible::before,
.ff-umfragen-thanks-submit.ff-btn-slide:hover::before,
.ff-umfragen-thanks-submit.ff-btn-slide:focus-visible::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

.ff-umfragen-question-answer.ff-btn-slide:focus-visible,
.ff-umfragen-question-next.ff-btn-slide:focus-visible,
.ff-umfragen-question-cancel.ff-btn-slide:focus-visible,
.ff-umfragen-question-toggle.ff-btn-slide:focus-visible,
.ff-umfragen-question-submit.ff-btn-slide:focus-visible,
.ff-umfragen-thanks-submit.ff-btn-slide:focus-visible {
    outline: 2px solid #b43526;
    outline-offset: 2px;
}

.ff-umfragen-question-answer-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.ff-umfragen-question-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 36px 0 0;
}

.ff-umfragen-question-next.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 151px;
    min-width: 151px;
    max-width: 151px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 15px;
    border: 2px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    transition: color 0.25s, border-color 0.25s;
}

.ff-umfragen-question-next-text {
    display: block;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.ff-umfragen-question-next-arrow {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    min-width: 12px;
    color: currentColor;
    position: relative;
    z-index: 1;
    transition: color 0.25s;
}

.ff-umfragen-question-cancel.ff-btn-slide {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 189px;
    min-width: 189px;
    max-width: 189px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 15px;
    border: 2px solid #1d1b20;
    border-radius: 21px;
    background: #fff;
    box-sizing: border-box;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #1d1b20;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    transition: color 0.25s, border-color 0.25s;
}

.ff-umfragen-question-cancel-text {
    display: block;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.ff-umfragen-question-cancel-icon {
    display: block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    color: currentColor;
    opacity: 1;
    position: relative;
    z-index: 1;
    transform: rotate(-180deg);
    transition: color 0.25s;
}

/* ===== Sektion: Bereits beendete Umfragen ===== */
.ff-umfragen-section--beendet {
    width: 100%;
    overflow-anchor: none;
}

.ff-umfragen-section--beendet-gap {
    margin-top: 60px;
}

.ff-umfragen-beendet-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.ff-umfragen-card--beendet {
    flex: 0 0 312px;
    width: 312px;
    max-width: 312px;
}

.ff-umfragen-card--beendet .ff-umfragen-card-copy .ff-umfragen-card-cta {
    margin-top: 0;
}

.ff-umfragen-card-frame--beendet {
    height: 215px;
}

/* ===== Ergebnisse beendeter Umfragen ===== */
.ff-umfragen-results-page.ff-main {
    min-height: calc(100dvh + 150px);
}

.ff-umfragen-results {
    width: 100%;
    max-width: 570px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.ff-umfragen-results-head {
    margin: 0 0 40px;
}

.ff-umfragen-results-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-results-intro,
.ff-umfragen-results-text,
.ff-umfragen-results-missed {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-results-intro {
    margin-bottom: 0;
    width: 100%;
    max-width: 570px;
    text-align: left;
    font-size: 15px;
    line-height: 110%;
}

.ff-umfragen-results-section-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-results-winner .ff-umfragen-results-text {
    margin: 0 auto 24px;
    width: 100%;
    max-width: 570px;
    text-align: left;
    font-size: 15px;
    line-height: 110%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.ff-umfragen-results-winner-frame {
    width: 570px;
    max-width: 100%;
    height: 379px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #cbcbcb;
    background: transparent;
}

.ff-umfragen-results-winner-img,
.ff-umfragen-results-winner-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-umfragen-results-winner-placeholder {
    background: transparent;
}

.ff-umfragen-results-wrap .ff-umfragen-results-divider {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: 0;
    margin: 40px auto;
    padding: 0;
    border: 0;
    border-top: 1px solid #d0d0d0;
}

.ff-umfragen-results-answer-title {
    margin: 0 0 24px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-results-answer-frame {
    width: 570px;
    max-width: 100%;
    height: 379px;
    margin: 0 auto 16px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #cbcbcb;
    background: transparent;
}

.ff-umfragen-results-answer-img,
.ff-umfragen-results-answer-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-umfragen-results-answer-placeholder {
    background: transparent;
}

.ff-umfragen-results-answer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 101px;
    min-width: 101px;
    height: 30px;
    margin: 0 auto;
    padding: 5px 11px;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: 21px;
    background: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #fff;
}

.ff-umfragen-results-missed {
    text-align: left;
}

.ff-umfragen-results-missed-link,
.ff-umfragen-results-missed-link:link,
.ff-umfragen-results-missed-link:visited,
.ff-umfragen-results-missed-link:hover,
.ff-umfragen-results-missed-link:focus,
.ff-umfragen-results-missed-link:focus-visible,
.ff-umfragen-results-missed-link:active {
    color: #000;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* ===== Responsive: unter 1000px stapeln ===== */
/* ===== Quiz der Woche ===== */
.ff-umfragen-quiz-page .ff-umfragen-wrap {
    padding-bottom: 200px;
}

.ff-quiz-week {
    width: 100%;
    max-width: 1000px;
    min-height: 316px;
    margin: 0;
    padding: 0 0 50px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #d9deed;
    overflow: hidden;
}

.ff-quiz-week__head {
    display: flex;
    align-items: center;
    width: 100%;
    height: 63px;
    margin: 0;
    padding: 16px 24px 17px;
    box-sizing: border-box;
    background: #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ff-quiz-week__head-title {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0;
    color: #fff;
}

.ff-quiz-week__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 34px;
    width: 100%;
    min-height: calc(316px - 63px);
    padding: 24px 24px 0;
    box-sizing: border-box;
}

.ff-quiz-week__question-col {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.ff-quiz-week__dots {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    gap: 10px;
    flex: 0 0 15px;
    padding-top: 0;
}

.ff-quiz-week__dot {
    display: block;
    width: 15px;
    height: 15px;
    border: 1px solid #000;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}

.ff-quiz-week__dot--active {
    background: #000;
}

.ff-quiz-week__dot--correct {
    background: #006f00;
    border-color: #006f00;
}

.ff-quiz-week__dot--wrong {
    background: #c00;
    border-color: #c00;
}

.ff-quiz-week__body--result {
    flex-wrap: wrap;
    align-items: flex-start;
}

.ff-quiz-week__result-label {
    margin: 0 0 4px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.005em;
}

.ff-quiz-week__result-label--correct { color: #006f00; }
.ff-quiz-week__result-label--wrong { color: #c00; }

.ff-quiz-week__explanation {
    margin: 0 0 12px;
    max-width: 390px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
}

.ff-quiz-week__community-title {
    margin: 0 0 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
}

.ff-quiz-week__bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    width: 390px;
    max-width: 100%;
}

.ff-quiz-week__bar-label {
    flex: 0 0 auto;
    min-width: 52px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
}

.ff-quiz-week__bar-track {
    flex: 1 1 auto;
    width: auto;
    height: 20px;
    border-radius: 10px;
    background: #e8e8e8;
    overflow: hidden;
}

.ff-quiz-week__bar-fill { display: block; height: 100%; border-radius: 10px; }
.ff-quiz-week__bar-fill--correct { background: #006f00; }
.ff-quiz-week__bar-fill--wrong { background: #c00; }

.ff-quiz-week__bar-pct {
    flex: 0 0 auto;
    min-width: 40px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    text-align: right;
}

.ff-quiz-week__answer--correct::after {
    border-color: #006f00;
}

.ff-quiz-week__footer {
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px 24px;
}

.ff-quiz-week__answer,
.ff-quiz-week__next,
.ff-quiz-week__cta {
    --ff-quiz-btn-hover-scale: 1.02;
    position: relative;
    z-index: 0;
    isolation: isolate;
    border: 2px solid transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    transform: none !important;
}

.ff-quiz-week__answer::after,
.ff-quiz-week__next::after,
.ff-quiz-week__cta::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid #000;
    border-radius: 21px;
    background: #d9deed;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    transform: scale(1);
    z-index: -1;
    pointer-events: none;
}

.ff-quiz-week__answer:hover:not(:disabled)::after,
.ff-quiz-week__answer:focus-visible:not(:disabled)::after,
.ff-quiz-week__next:hover::after,
.ff-quiz-week__next:focus-visible::after,
.ff-quiz-week__cta:hover::after,
.ff-quiz-week__cta:focus-visible::after {
    background: #000;
    border-color: #000;
    transform: scale(var(--ff-quiz-btn-hover-scale));
}

.ff-quiz-week__next {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: auto;
    min-width: 150px;
    max-width: none;
    height: 39px;
    margin: 0;
    padding: 8px 18px;
    white-space: nowrap;
    border-radius: 21px;
    color: #000 !important;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s ease;
}

.ff-quiz-week__next.ff-btn-slide::before {
    display: none;
}

.ff-quiz-week__next-text {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0;
    color: inherit;
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.2s ease;
}

.ff-quiz-week__next-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.ff-quiz-week__next:hover,
.ff-quiz-week__next:focus-visible {
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.ff-quiz-week__next:hover .ff-quiz-week__next-arrow,
.ff-quiz-week__next:focus-visible .ff-quiz-week__next-arrow {
    transform: translateX(4px);
}

.ff-quiz-week__next:hover .ff-quiz-week__next-arrow path,
.ff-quiz-week__next:focus-visible .ff-quiz-week__next-arrow path {
    fill: #fff;
}

.ff-quiz-week__next--quiz {
    min-width: 178px;
}

.ff-quiz-week__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: 39px;
    margin: 0;
    padding: 8px 15px;
    border-radius: 21px;
    color: #000 !important;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s ease;
}

.ff-quiz-week__cta:hover,
.ff-quiz-week__cta:focus-visible {
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.ff-quiz-week__cta:focus {
    outline: none;
}

.ff-quiz-week__cta-text {
    position: relative;
    z-index: 1;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    white-space: nowrap;
    pointer-events: none;
}

.ff-quiz-week__cta-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.ff-quiz-week__cta:hover .ff-quiz-week__cta-arrow,
.ff-quiz-week__cta:focus-visible .ff-quiz-week__cta-arrow {
    transform: translateX(4px);
}

.ff-quiz-week__cta:hover .ff-quiz-week__cta-arrow path,
.ff-quiz-week__cta:focus-visible .ff-quiz-week__cta-arrow path {
    fill: #fff;
}

.ff-quiz-week__body--summary,
.ff-quiz-week__body--start {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    min-height: calc(316px - 63px);
    padding: 24px;
    box-sizing: border-box;
}

.ff-quiz-week__body--idle {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    min-height: calc(316px - 63px);
    padding: 24px;
    box-sizing: border-box;
}

.ff-quiz-week--page .ff-quiz-week__body--idle-page {
    align-items: center;
    justify-content: center;
}

.ff-quiz-week--page .ff-quiz-week__idle-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
}

.ff-quiz-week--page .ff-quiz-week__idle-center .ff-quiz-week__summary-headline,
.ff-quiz-week--page .ff-quiz-week__idle-center .ff-quiz-week__summary-text,
.ff-quiz-week--page .ff-quiz-week__idle-center .ff-quiz-week__summary-sub {
    text-align: center;
}

.ff-quiz-week__summary-headline,
.ff-quiz-week__start-text {
    margin: 0 0 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.ff-quiz-week__summary-text,
.ff-quiz-week__summary-sub,
.ff-quiz-week__start-sub {
    margin: 0 0 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    line-height: 120%;
}

.ff-quiz-week__idle-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 390px;
    max-width: 100%;
    min-height: 40px;
    margin: 0 auto;
    text-align: center;
}

.ff-quiz-week__idle-text {
    width: 100%;
    margin: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #000;
}

.ff-quiz-stats__avg {
    margin: 0;
    max-width: 100%;
}

.ff-quiz-stats__avg-label {
    margin: 0 0 8px;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-stats__avg-value {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-week__summary-col,
.ff-quiz-week__idle-col,
.ff-quiz-week__start-col { flex: 1 1 50%; min-width: 0; }

.ff-quiz-week__summary-col--main,
.ff-quiz-week__col--with-avg {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
}

.ff-quiz-week__box-avg {
    margin-top: auto;
    padding-top: 16px;
}

.ff-quiz-week__box-avg .ff-quiz-stats__avg {
    margin: 0;
}

.ff-quiz-week__summary-col--side,
.ff-quiz-week__start-col--action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    text-align: center;
}

.ff-quiz-week__idle-col--message {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    text-align: center;
}

.ff-quiz-week__inline-stats-title {
    margin: 16px 0 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.ff-quiz-week__inline-stats-title--first {
    margin-top: 0;
}

/* Startseite: Statistik links im Kasten während aktives Quiz */
.ff-quiz-week--home .ff-quiz-week__home-layout {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    min-height: calc(316px - 63px);
    padding: 24px;
    box-sizing: border-box;
}

.ff-quiz-week--home .ff-quiz-week__home-stats-col,
.ff-quiz-week--home .ff-quiz-week__home-play-col {
    flex: 1 1 50%;
    min-width: 0;
}

.ff-quiz-week--home .ff-quiz-week__home-play-col {
    display: flex;
    flex-direction: column;
}

.ff-quiz-week--home .ff-quiz-week__home-play-col .ff-quiz-week__body {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.ff-quiz-week--home .ff-quiz-week__home-play-col .ff-quiz-week__answers {
    align-self: stretch;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
}

.ff-quiz-week--home .ff-quiz-week__home-play-col .ff-quiz-week__answer {
    width: 100%;
    max-width: none;
}

.ff-quiz-stats__filters--inline { margin-bottom: 12px; }
.ff-quiz-stats__metrics--inline { gap: 12px; }

.ff-quiz-week__question {
    margin: 0;
    padding: 0;
    max-width: 420px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-week__answers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-start;
    gap: 10px;
    flex: 0 0 390px;
    width: 390px;
    max-width: 390px;
}

.ff-quiz-week__answer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 390px;
    height: 43px;
    margin: 0;
    padding: 5px 11px;
    box-sizing: border-box;
    border-radius: 21px;
    color: #000 !important;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s ease;
}

.ff-quiz-week__answer-text {
    position: relative;
    z-index: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: inherit;
    text-align: center;
    pointer-events: none;
}

.ff-quiz-week__answer:hover:not(:disabled),
.ff-quiz-week__answer:focus-visible:not(:disabled) {
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.ff-quiz-week__answer:focus {
    outline: none;
}

.ff-quiz-week__answer:disabled {
    cursor: default;
    opacity: 1;
}

/* ===== Quiz-Statistik ===== */
.ff-quiz-stats {
    width: 100%;
    max-width: 1000px;
    margin: 48px 0 0;
    padding: 0;
    box-sizing: border-box;
}

.ff-quiz-stats__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
}

.ff-quiz-stats__title {
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-stats__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.ff-quiz-stats__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 11px;
    height: 30px;
    border: 1px solid #000;
    border-radius: 21px;
    background: transparent !important;
    background-color: transparent !important;
    color: #000 !important;
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.ff-quiz-stats__filter[data-ff-quiz-period="7"] {
    width: 61px;
}

.ff-quiz-stats__filter[data-ff-quiz-period="30"] {
    width: 70px;
}

.ff-quiz-stats__filter[data-ff-quiz-period="0"],
.ff-quiz-stats__filter[data-ff-quiz-period="hinrunde"] {
    width: 131px;
}

.ff-quiz-stats__filter--active {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.ff-quiz-stats__filter--active .ff-quiz-stats__filter-text {
    color: #fff !important;
}

.ff-quiz-stats__filter:hover,
.ff-quiz-stats__filter:focus,
.ff-quiz-stats__filter:active {
    background: transparent !important;
    background-color: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
}

.ff-quiz-stats__filter--active:hover,
.ff-quiz-stats__filter--active:focus,
.ff-quiz-stats__filter--active:active {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}

.ff-quiz-stats__filter-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
    white-space: nowrap;
    pointer-events: none;
}

.ff-quiz-stats__filter:focus {
    outline: none;
}

.ff-quiz-stats__filter:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.ff-quiz-stats__metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 20px;
    margin: 0 0 36px;
}

.ff-quiz-stats__metric-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.ff-quiz-stats__metric-col .ff-quiz-stats__metric {
    gap: 8px;
    align-self: flex-start;
}

.ff-quiz-stats__metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ff-quiz-stats__icon {
    flex: 0 0 auto;
    color: #000;
}

.ff-quiz-stats__metric-value {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-stats__metric-label,
.ff-quiz-stats__metric-suffix {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-quiz-stats__lostopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 181px;
    min-width: 181px;
    max-width: 181px;
    height: 28px;
    margin: 0;
    padding: 5px 11px;
    gap: 10px;
    box-sizing: border-box;
    border: 1px solid #93a9e9;
    border-radius: 21px;
    background: #d9deed;
}

.ff-quiz-stats__lostopf-text {
    display: block;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal;
    font-size: 15px !important;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
    white-space: nowrap;
    text-align: center;
}

.ff-umfragen-page .ff-quiz-stats__login-prompt,
.ff-umfragen-page .ff-quiz-week__inline-login {
    display: block;
    box-sizing: border-box;
    margin: 0 0 36px;
    width: 100%;
    max-width: 642px;
    min-height: 26px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0.005em;
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

.ff-umfragen-page .ff-quiz-stats__login-prompt .ff-quiz-stats__login-link,
.ff-umfragen-page .ff-quiz-week__inline-login .ff-quiz-stats__login-link,
.ff-umfragen-page a.ff-quiz-stats__login-link {
    display: inline;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 22px !important;
    line-height: 26px !important;
    letter-spacing: 0.005em !important;
    color: #000 !important;
    text-decoration: none !important;
    border-bottom: 2px solid #000;
    padding-bottom: 0;
    background: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ff-umfragen-page .ff-quiz-stats__login-prompt .ff-quiz-stats__login-link:hover,
.ff-umfragen-page .ff-quiz-week__inline-login .ff-quiz-stats__login-link:hover,
.ff-umfragen-page a.ff-quiz-stats__login-link:hover {
    color: #b43526 !important;
    border-bottom-color: #b43526 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.ff-umfragen-page .ff-quiz-stats__login-prompt .ff-quiz-stats__login-link:focus,
.ff-umfragen-page .ff-quiz-week__inline-login .ff-quiz-stats__login-link:focus,
.ff-umfragen-page a.ff-quiz-stats__login-link:focus {
    outline: none;
}

.ff-umfragen-page .ff-quiz-stats__login-prompt .ff-quiz-stats__login-link:focus-visible,
.ff-umfragen-page .ff-quiz-week__inline-login .ff-quiz-stats__login-link:focus-visible,
.ff-umfragen-page a.ff-quiz-stats__login-link:focus-visible {
    color: #b43526 !important;
    border-bottom-color: #b43526 !important;
    outline: 2px solid #b43526;
    outline-offset: 2px;
}

.ff-quiz-stats__login-link strong,
.ff-quiz-stats__login-link b {
    font-weight: 400 !important;
}

.ff-quiz-stats__season {
    width: 100%;
}

.ff-quiz-stats__season-text {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-quiz-stats__progress {
    width: 100%;
    height: 10px;
    border-radius: 27px;
    background: #e8e8e8;
    overflow: hidden;
}

.ff-quiz-stats__progress-fill {
    display: block;
    height: 100%;
    border-radius: 27px;
    background: #006f00;
}

/* ===== Frage: Antwort-Kachel mit optionalem Bild ===== */
.ff-umfragen-question-frame--image {
    overflow: hidden;
    padding: 0;
}

.ff-umfragen-question-frame-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Danke- / Feedback-Seite ===== */
.ff-umfragen-thanks-page.ff-main,
.ff-umfragen-feedback-page.ff-main {
    padding-top: 0;
}

.ff-umfragen-feedback .ff-umfragen-question-topbar {
    margin-bottom: 24px;
}

.ff-umfragen-feedback-form {
    margin-top: 48px;
}

.ff-umfragen-feedback-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.ff-umfragen-feedback-actions .ff-umfragen-question-next.ff-btn-slide {
    appearance: none;
    -webkit-appearance: none;
}

.ff-umfragen-thanks {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ff-umfragen-thanks-head {
    margin: 0 0 36px;
}

.ff-umfragen-thanks-title {
    margin: 0 0 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-thanks-text {
    margin: 0 auto 20px;
    max-width: 573px;
    text-align: left;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
}

.ff-umfragen-thanks-head .ff-umfragen-thanks-text:last-of-type {
    margin-bottom: 0;
}

.ff-umfragen-thanks-sent {
    margin: 0 0 24px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    color: #006f00;
}

.ff-umfragen-thanks-form {
    width: 573px;
    max-width: 100%;
    margin: 48px auto 0;
    text-align: center;
}

.ff-umfragen-thanks-answer-title {
    margin: 0 0 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.005em;
    color: #000;
}

.ff-umfragen-thanks-textarea {
    display: block;
    width: 573px;
    max-width: 100%;
    height: 216px;
    min-height: 216px;
    margin: 0 auto 20px;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid #cbcbcb;
    border-radius: 5px;
    background: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
    resize: none;
}

.ff-umfragen-thanks-actions {
    display: flex;
    justify-content: center;
}

.ff-umfragen-thanks-submit-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 999px) {
    .ff-umfragen-wrap {
        max-width: min(var(--ff-layout-max), calc(100% - 2 * var(--ff-layout-gutter)));
        padding-left: var(--ff-layout-gutter);
        padding-right: var(--ff-layout-gutter);
    }

    .ff-umfragen-laufend-feature {
        flex-direction: column;
        gap: 32px;
        max-width: none;
    }

    .ff-umfragen-laufend-feature .ff-umfragen-card--wide,
    .ff-umfragen-laufend-feature .ff-umfragen-card--narrow,
    .ff-umfragen-laufend-more .ff-umfragen-card--wide,
    .ff-umfragen-laufend-more .ff-umfragen-card--narrow,
    .ff-umfragen-laufend-more .ff-umfragen-card--third,
    .ff-umfragen-laufend-more .ff-umfragen-card--full {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        grid-column: span 1;
    }

    .ff-umfragen-laufend-more {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        max-width: none;
    }

    .ff-umfragen-section--laufend .ff-umfragen-card-frame {
        height: auto;
        aspect-ratio: 661 / 404;
    }

    .ff-umfragen-laufend-feature .ff-umfragen-card--narrow .ff-umfragen-card-frame,
    .ff-umfragen-laufend-more .ff-umfragen-card--narrow .ff-umfragen-card-frame,
    .ff-umfragen-laufend-more .ff-umfragen-card--third .ff-umfragen-card-frame {
        aspect-ratio: 312 / 404;
    }

    .ff-umfragen-card--wide,
    .ff-umfragen-card--narrow {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .ff-umfragen-card-frame {
        height: auto;
        aspect-ratio: 661 / 404;
    }

    .ff-umfragen-card--narrow .ff-umfragen-card-frame {
        aspect-ratio: 312 / 404;
    }

    .ff-umfragen-beendet-grid {
        flex-direction: column;
        gap: 32px;
    }

    .ff-umfragen-card--beendet {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .ff-umfragen-card-frame--beendet {
        height: auto;
        aspect-ratio: 312 / 215;
    }

    .ff-umfragen-single-hero-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 570 / 379;
    }

    .ff-umfragen-single-intro {
        max-width: 100%;
        text-align: left;
    }

    .ff-umfragen-question-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 570 / 379;
    }

    .ff-umfragen-question-head {
        max-width: 100%;
    }

    .ff-umfragen-question-topbar {
        justify-content: flex-end;
    }

    .ff-quiz-week__body,
    .ff-quiz-week--home .ff-quiz-week__home-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .ff-quiz-week--home .ff-quiz-week__home-stats-col,
    .ff-quiz-week--home .ff-quiz-week__home-play-col {
        flex: 1 1 auto;
        width: 100%;
    }

    .ff-quiz-week__question {
        max-width: none;
    }

    .ff-quiz-week__answers {
        align-items: stretch;
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .ff-quiz-week__answer {
        width: 100%;
        max-width: 390px;
        align-self: center;
    }

    .ff-quiz-stats__filters {
        gap: 8px;
    }

    .ff-quiz-stats__filter[data-ff-quiz-period="7"],
    .ff-quiz-stats__filter[data-ff-quiz-period="30"],
    .ff-quiz-stats__filter[data-ff-quiz-period="0"],
.ff-quiz-stats__filter[data-ff-quiz-period="hinrunde"] {
        width: auto;
        min-width: 0;
    }

    .ff-quiz-stats__metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ff-quiz-stats__lostopf {
        width: 181px;
        min-width: 181px;
        max-width: 181px;
        height: 28px;
        padding: 5px 11px;
    }

    .ff-quiz-stats__lostopf-text {
        font-size: 15px !important;
        line-height: 100%;
        white-space: nowrap;
    }
}
