/*
 * fc_membership: nur Ergänzungen zum Sitepackage (fc-form, fc-field, fc-btn, fc-funnel,
 * fc-panel, fc-mandatory-info kommen von dort). Tokens --fc-* aus dem Sitepackage.
 */

/* Honeypot: off-screen, nicht display:none (Bots erkennen das) */
.fc-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.fc-funnel__head { margin-bottom: 1.5rem; }
.fc-funnel__lead { color: var(--fc-text-muted, #a1a1aa); max-width: 60ch; }
.fc-funnel__hint { color: var(--fc-text-muted, #a1a1aa); font-size: 0.95rem; margin: 0 0 1rem; }
.fc-funnel__note { color: var(--fc-text-muted, #a1a1aa); font-size: 0.875rem; margin-top: 0.75rem; }
.fc-funnel__facts { padding-left: 1.1rem; margin: 0.5rem 0 1rem; }
.fc-funnel__facts li { margin-bottom: 0.35rem; }
.fc-funnel__steps { padding-left: 1.2rem; }
.fc-funnel__steps li { margin-bottom: 0.5rem; }

.fc-funnel__panel[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* Formular-Raster */
.fc-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.fc-field--wide { grid-column: 1 / -1; }
.fc-field--narrow { max-width: 12rem; }
.fc-field__hint { display: block; font-size: 0.8rem; color: var(--fc-text-muted, #a1a1aa); margin-top: 0.3rem; }
.fc-field__input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; }
.fc-field--required .fc-field__hint { display: none; }

/* Rechtstext-Auszüge */
.fc-legal-excerpt { border: 1px solid var(--fc-line, #2a2a31); border-radius: 0.5rem; padding: 1rem; margin: 1rem 0; background: var(--fc-surface-800, #141418); }
.fc-legal-excerpt__title { font-weight: 700; margin: 0 0 0.5rem; }
.fc-legal-excerpt__body { font-size: 0.875rem; color: var(--fc-text-muted, #a1a1aa); max-height: 14rem; overflow: auto; }
.fc-legal-excerpt__meta { font-size: 0.8rem; color: var(--fc-text-muted, #a1a1aa); margin: 0.75rem 0 0; }
.fc-legal-details { margin: 1rem 0; border: 1px solid var(--fc-line, #2a2a31); border-radius: 0.5rem; padding: 0.75rem 1rem; }
.fc-legal-details summary { cursor: pointer; font-weight: 700; }
.fc-legal__meta { font-size: 0.85rem; color: var(--fc-text-muted, #a1a1aa); }

/* Zusammenfassung */
.fc-review__section { margin-bottom: 1rem; padding: 1.25rem; }
.fc-review__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.fc-review__head .fc-h2 { margin: 0; font-size: 1.15rem; }
.fc-review__edit { margin: 0; }
.fc-review__list { display: grid; gap: 0.5rem; margin: 0; }
.fc-review__list > div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 0.5rem; font-size: 0.95rem; }
.fc-review__list dt { color: var(--fc-text-muted, #a1a1aa); }
.fc-review__list dd { margin: 0; }
.fc-review__list ul { margin: 0; padding-left: 1.1rem; }
.fc-review__submit { margin-top: 1rem; }
.fc-review__actions { margin-top: 0.75rem; }

/* Pflichtangaben: unmittelbar über dem Button */
.fc-mandatory-info { border: 2px solid var(--fc-red-500, #cc1719); border-radius: 0.5rem; padding: 1rem 1.25rem; background: var(--fc-surface-800, #141418); }
.fc-mandatory-info__title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin: 0 0 0.5rem; }
.fc-mandatory-info__table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.fc-mandatory-info__table th { text-align: left; vertical-align: top; padding: 0.35rem 0.75rem 0.35rem 0; width: 12rem; color: var(--fc-text-muted, #a1a1aa); font-weight: 600; }
.fc-mandatory-info__table td { padding: 0.35rem 0; vertical-align: top; }
.fc-mandatory-info__note { font-size: 0.8rem; color: var(--fc-text-muted, #a1a1aa); margin: 0.5rem 0 0; }

.fc-btn--large { font-size: 1.1rem; padding: 0.9rem 1.6rem; }
.fc-btn--small { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
.fc-btn.is-busy { opacity: 0.7; cursor: wait; }
.fc-panel--muted { color: var(--fc-text-muted, #a1a1aa); font-size: 0.9rem; }
.fc-panel--center { text-align: center; }

@media (max-width: 40rem) {
    .fc-review__list > div { grid-template-columns: 1fr; gap: 0.1rem; }
    .fc-mandatory-info__table th { width: 8rem; }
    .fc-radio-tiles--terms { grid-template-columns: 1fr; }
}

@media print {
    .fc-funnel__aside, .fc-form__actions { display: none !important; }
}

/* ==================================================================== Checkout (Vertragsabschluss)
   Aufbau wie ein Shop-Checkout: links ein Schritt nach dem anderen, rechts die Übersicht.
   Farben nur über Tokens; animiert werden nur transform und opacity. */

.fc-checkout { scroll-margin-top: calc(var(--fc-header-h-scrolled, 72px) + 1rem); }
.fc-checkout .fc-h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.fc-checkout__title { padding: 0 0 1.25rem; margin: 0; } /* padding statt margin: Chrome ignoriert margin-bottom an legend */
.fc-checkout__form { gap: 0; }
.fc-checkout .fc-funnel__panel { display: grid; gap: 1.25rem; }
.fc-checkout .fc-funnel__hint { margin: 0; }
/* Untertitel direkt unter dem Schritt-Titel näher heranholen */
.fc-checkout__title + .fc-funnel__hint { margin-top: -0.5rem; }
.fc-checkout__group { display: grid; gap: 1rem; }
.fc-checkout__group + .fc-checkout__group { margin-top: 2.5rem; } /* keine border: am fieldset läuft sie durch die legend */
.fc-checkout__subgroup { margin-top: 0.5rem; }
.fc-checkout__narrow { max-width: 20rem; }
.fc-checkout__zip-row { display: grid; grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr); gap: 1rem; }
.fc-checkout__aside-note { margin: 0; font-size: var(--fc-fs-meta); color: var(--fc-text-muted); }
.fc-checkout__note { margin-top: var(--fc-space-6); }
.fc-checkout__note[hidden] { display: none; }
.fc-checkout__fineprint { margin: 0; font-size: var(--fc-fs-small); line-height: 1.5; color: var(--fc-text-dim); }
.fc-checkout__notice { padding: 1rem 1.25rem; border-inline-start: 3px solid var(--fc-red-500); background: var(--fc-red-tint); color: var(--fc-text); font-size: 0.9375rem; line-height: 1.5; }
.fc-checkout__notice p { margin: 0; }
.fc-checkout__notice--ok { border-inline-start-color: var(--fc-ok); background: var(--fc-surface-800); }

/* Fortschritt: so viele Segmente wie Schritte, Namen ab Tablet sichtbar */
.fc-checkout__progress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.35rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.fc-checkout__progress .fc-progress__step { display: grid; gap: 0.55rem; min-width: 0; font-size: 0.6875rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fc-text-dim); }
.fc-checkout__progress .fc-progress__step::before { content: ''; display: block; height: 3px; background: var(--fc-surface-600); }
.fc-checkout__progress .fc-progress__step.is-done::before { background: var(--fc-red-700); }
.fc-checkout__progress .fc-progress__step.is-active { color: var(--fc-text); }
.fc-checkout__progress .fc-progress__step.is-active::before { background: var(--fc-red-500); box-shadow: var(--fc-glow-sm); }
.fc-checkout__progress .fc-progress__name { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-checkout__step-caption { display: none; }
@media (max-width: 47.99rem) {
    .fc-checkout__progress { margin-bottom: 0.75rem; }
    .fc-checkout__progress .fc-progress__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .fc-checkout__step-caption { display: block; margin: 0 0 2rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fc-text); }
}

/* Auswahlkarten (Vertrag, Laufzeit, Start): untereinander, links Text, rechts Preis */
.fc-choices { display: grid; gap: 0.75rem; }
.fc-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--fc-surface-700);
    border: 1px solid var(--fc-line);
    clip-path: var(--fc-clip-corner-ext, var(--fc-clip-corner));
    cursor: pointer;
    --fc-corner-line: var(--fc-line);
    background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--fc-corner-line) calc(50% - 1px));
    background-size: var(--fc-corner-cut) var(--fc-corner-cut);
    background-position: right top;
    background-repeat: no-repeat;
    background-origin: border-box;
    transition: background-color var(--fc-dur-fast), border-color var(--fc-dur-fast), box-shadow var(--fc-dur-fast);
}
.fc-choice::before {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--fc-line-strong);
    background: var(--fc-surface-600);
    transition: border-color var(--fc-dur-fast), box-shadow var(--fc-dur-fast);
}
.fc-choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fc-choice:hover { background-color: var(--fc-surface-600); border-color: var(--fc-line-strong); --fc-corner-line: var(--fc-line-strong); }
.fc-choice:has(.fc-choice__input:checked) {
    background-color: var(--fc-surface-600);
    border-color: var(--fc-red-500);
    box-shadow: var(--fc-glow-md), inset 3px 0 0 0 var(--fc-red-500);
    --fc-corner-line: var(--fc-red-500);
}
.fc-choice:has(.fc-choice__input:checked)::before { border-color: var(--fc-red-500); box-shadow: inset 0 0 0 5px var(--fc-surface-600), inset 0 0 0 12px var(--fc-red-500); }
.fc-choice:has(.fc-choice__input:focus-visible) { outline: 3px solid var(--fc-focus); outline-offset: 2px; }
.fc-choice__main { display: grid; gap: 0.3rem; min-width: 0; }
.fc-choice__title { font-family: var(--fc-font-display); font-weight: 800; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--fc-text); }
.fc-choice__text { font-size: 0.9375rem; line-height: 1.45; color: var(--fc-text-muted); }
.fc-choice__text .fc-link { position: relative; z-index: 1; }
.fc-choice__badge { justify-self: start; margin-top: 0.2rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fc-red-300); }
.fc-choice__price { display: grid; justify-items: end; text-align: right; line-height: 1; white-space: nowrap; }
.fc-choice__from { font-size: 0.75rem; color: var(--fc-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.fc-choice__amount { font-family: var(--fc-font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: 0; color: var(--fc-text); font-variant-numeric: tabular-nums; }
.fc-choice__amount:empty::before { content: '\2013'; color: var(--fc-text-dim); }
.fc-choice__unit { margin-top: 0.3rem; font-size: 0.75rem; color: var(--fc-text-muted); }
.fc-choice:has(.fc-choice__input:checked) .fc-choice__amount { color: var(--fc-red-300); }
.fc-choice.is-disabled { cursor: default; opacity: 0.6; grid-template-columns: minmax(0, 1fr); }
.fc-choice.is-disabled::before { display: none; }
.fc-choice.is-disabled:hover { background-color: var(--fc-surface-700); border-color: var(--fc-line); }
.fc-choices.fc-field--error .fc-choice { border-color: var(--fc-red-300); }
@media (max-width: 29.99rem) {
    .fc-choice { grid-template-columns: auto minmax(0, 1fr); padding: 1rem 1.125rem; }
    .fc-choice__price { grid-column: 2; justify-items: start; text-align: left; display: flex; align-items: baseline; gap: 0.4rem; }
    .fc-choice__unit { margin: 0; }
}

/* Geschlecht: drei Radios in einer Reihe */
.fc-gender { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 0.6rem; }
.fc-gender > legend { padding: 0; margin-bottom: 0.6rem; }
.fc-gender__options { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.fc-gender__option { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; cursor: pointer; color: var(--fc-text); font-size: 1rem; }
.fc-gender__option input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 1px solid var(--fc-line-strong); background: var(--fc-surface-600); cursor: pointer; transition: border-color var(--fc-dur-fast), box-shadow var(--fc-dur-fast); }
.fc-gender__option input:checked { border-color: var(--fc-red-500); box-shadow: inset 0 0 0 5px var(--fc-surface-600), inset 0 0 0 12px var(--fc-red-500); }
.fc-gender__option input:focus-visible { outline: 3px solid var(--fc-focus); outline-offset: 2px; }
.fc-gender.fc-field--error .fc-gender__option input { border-color: var(--fc-red-300); }

.fc-checkbox--small { font-size: var(--fc-fs-small); }

/* Add-on-Karte: ganze Karte ist die Checkbox, unten rechts der Schalter */
.fc-addon {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--fc-surface-700);
    border: 1px solid var(--fc-line-strong);
    cursor: pointer;
    transition: border-color var(--fc-dur-fast), box-shadow var(--fc-dur-fast), background-color var(--fc-dur-fast);
}
.fc-addon__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fc-addon:hover { background: var(--fc-surface-600); }
.fc-addon:has(.fc-addon__input:focus-visible) { outline: 3px solid var(--fc-focus); outline-offset: 2px; }
.fc-addon:has(.fc-addon__input:checked) { border-color: var(--fc-red-500); box-shadow: var(--fc-glow-md); background: var(--fc-surface-600); }
.fc-addon__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.fc-addon__title { font-family: var(--fc-font-display); font-weight: 800; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1; text-transform: uppercase; }
.fc-addon__price { font-family: var(--fc-font-display); font-weight: 800; font-size: 1.5rem; white-space: nowrap; color: var(--fc-text); }
.fc-addon__price small { font-family: var(--fc-font-body, inherit); font-weight: 400; font-size: 0.75rem; color: var(--fc-text-muted); }
.fc-addon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--fc-text-muted); font-size: 0.9375rem; }
.fc-addon__list li { position: relative; padding-left: 1.75rem; }
.fc-addon__list li::before { content: ''; position: absolute; left: 0.2rem; top: 0.35em; width: 12px; height: 7px; border-left: 2px solid var(--fc-red-300); border-bottom: 2px solid var(--fc-red-300); transform: rotate(-45deg); }
.fc-addon__toggle { justify-self: end; display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; border: 1px solid var(--fc-line-strong); font-family: var(--fc-font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fc-text); transition: background-color var(--fc-dur-fast), border-color var(--fc-dur-fast); }
.fc-addon__on { display: none; }
.fc-addon:has(.fc-addon__input:checked) .fc-addon__toggle { background: var(--fc-red-500); border-color: var(--fc-red-500); }
.fc-addon:has(.fc-addon__input:checked) .fc-addon__off { display: none; }
.fc-addon:has(.fc-addon__input:checked) .fc-addon__on { display: inline; }
.fc-addon:has(.fc-addon__input:checked) .fc-addon__on::before { content: ''; display: inline-block; width: 11px; height: 6px; margin: 0 0.6rem 0.2rem 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* Navigation unter dem Schritt: Zurück als Textlink links, Weiter rechts */
.fc-checkout__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--fc-line); }
.fc-checkout__nav .fc-btn { margin-left: auto; min-width: 0; }
.fc-checkout__back { flex: none; white-space: nowrap; min-height: 44px; padding: 0 0.25rem; border: 0; background: none; color: var(--fc-text-muted); font: inherit; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fc-checkout__back:hover { color: var(--fc-text); }
.fc-checkout__back:focus-visible { outline: 3px solid var(--fc-focus); outline-offset: 2px; }

/* Übersicht */
.fc-summary { background: var(--fc-surface-800); border: 1px solid var(--fc-line); }
.fc-summary__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0 1.25rem; cursor: pointer; list-style: none; font-family: var(--fc-font-display); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fc-summary__bar::-webkit-details-marker { display: none; }
.fc-summary__bar::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--fc-dur-fast); }
.fc-summary[open] .fc-summary__bar::after { transform: rotate(-135deg); }
.fc-summary__bar-price { margin-left: auto; color: var(--fc-text); font-variant-numeric: tabular-nums; }
.fc-summary__body { display: grid; gap: 1.25rem; padding: 0.25rem 1.25rem 1.5rem; }
.fc-summary__title { display: none; }
.fc-summary__empty { margin: 0; color: var(--fc-text-muted); font-size: 0.9375rem; }
.fc-summary__content { display: grid; gap: 1rem; }
.fc-summary__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--fc-line); }
.fc-summary__row > div { display: grid; gap: 0.2rem; }
.fc-summary__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fc-text-dim); }
.fc-summary__value { font-size: 1rem; color: var(--fc-text); }
.fc-summary__edit { flex: none; min-height: 32px; padding: 0; border: 0; background: none; color: var(--fc-text-muted); font: inherit; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fc-summary__edit:hover { color: var(--fc-text); }
.fc-summary__total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--fc-line); }
.fc-summary__total-label { font-family: var(--fc-font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.fc-summary__total-value { text-align: right; white-space: nowrap; }
.fc-summary__total-value strong { font-family: var(--fc-font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--fc-text); font-variant-numeric: tabular-nums; }
.fc-summary__total-value small { display: block; font-size: 0.75rem; color: var(--fc-text-muted); }
.fc-summary__sub { margin: 0.25rem 0 0; font-family: var(--fc-font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fc-text); }
.fc-summary__list { display: grid; gap: 0.5rem; margin: 0; }
.fc-summary__list > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.fc-summary__list dt { color: var(--fc-text-muted); }
.fc-summary__list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fc-summary__list .is-strong { margin-top: 0.25rem; padding-top: 0.6rem; border-top: 1px solid var(--fc-line); }
.fc-summary__list .is-strong dt, .fc-summary__list .is-strong dd { color: var(--fc-text); font-weight: 700; }
.fc-summary__note { margin: 0; font-size: 0.75rem; color: var(--fc-text-dim); }
.fc-summary__facts { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--fc-line); display: grid; gap: 0.4rem; font-size: 0.8125rem; color: var(--fc-text-muted); }
.fc-summary__facts li { position: relative; padding-left: 1.4rem; }
.fc-summary__facts li::before { content: ''; position: absolute; left: 0.1rem; top: 0.35em; width: 10px; height: 6px; border-left: 2px solid var(--fc-red-300); border-bottom: 2px solid var(--fc-red-300); transform: rotate(-45deg); }
.fc-summary__help { margin: 0; font-size: 0.8125rem; color: var(--fc-text-muted); }

/* Mobil: Übersicht als zugeklappte Leiste über dem Schritt */
@media (max-width: 63.99rem) {
    .fc-checkout { display: flex; flex-direction: column; align-items: stretch; gap: 1.5rem; }
    .fc-checkout .fc-funnel__aside { order: -1; position: sticky; top: calc(var(--fc-header-h-scrolled, 72px) + 0.5rem); z-index: 5; }
    .fc-summary__body { max-height: 70vh; overflow: auto; }
}
@media (min-width: 64rem) {
    .fc-checkout { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
    .fc-summary { padding: 0.5rem 0.5rem 0; }
    .fc-summary__bar { display: none; }
    .fc-summary__title { display: block; margin: 0; padding-top: 1rem; font-family: var(--fc-font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
    .fc-summary__body { padding: 0 1.25rem 1.5rem; }
}

/* Flash-Meldungen (z. B. abgelaufener Vorgang) im Funnel */
.fc-funnel__head + .typo3-messages, .typo3-messages { list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-inline-start: 3px solid var(--fc-red-300); background: var(--fc-red-tint); color: var(--fc-text); }
.typo3-messages li, .typo3-messages .alert { margin: 0; list-style: none; }

/* Lange deutsche Wörter (Zusammenfassung, Aufnahmegebühr) sauber trennen statt hart umbrechen */
.fc-funnel__head .fc-h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 29.99rem) { .fc-funnel__head .fc-h1 { font-size: clamp(2.25rem, 1.2rem + 6vw, 3rem); } }
.fc-mandatory-info th { hyphens: auto; -webkit-hyphens: auto; }

/* Info-Fragezeichen mit Erklärung (Desktop: Hover/Fokus, mobil: Klick setzt aria-expanded) */
.fc-info { position: relative; display: inline-flex; align-items: center; gap: 0.3rem; }
.fc-info__btn { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: var(--fc-text-dim); cursor: pointer; transition: color var(--fc-dur-fast); }
.fc-info__btn::before { content: ''; position: absolute; inset: -12px; } /* unsichtbar größere Tippfläche */
.fc-info__btn:hover, .fc-info__btn[aria-expanded="true"] { color: var(--fc-text); }
.fc-info__btn:focus-visible { outline: 2px solid var(--fc-focus); outline-offset: 1px; }
.fc-info__tip {
    position: absolute; left: 0; bottom: calc(100% + 0.5rem); z-index: 10;
    width: max-content; max-width: 16rem; padding: 0.6rem 0.75rem;
    background: var(--fc-surface-600); border: 1px solid var(--fc-line-strong);
    color: var(--fc-text); font-size: 0.8125rem; line-height: 1.45; text-align: left;
    opacity: 0; transform: translateY(4px); pointer-events: none;
    transition: opacity var(--fc-dur-fast), transform var(--fc-dur-fast);
}
.fc-info__btn[aria-expanded="true"] + .fc-info__tip { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) {
    .fc-info__btn:hover + .fc-info__tip, .fc-info__btn:focus-visible + .fc-info__tip { opacity: 1; transform: none; }
}

/* Eingabefeld mit Status-Icon rechts (IBAN gültig) */
.fc-field__control { position: relative; display: block; }
.fc-field__control .fc-field__input { padding-right: 3rem; }
.fc-field__ok { position: absolute; right: 1rem; top: 50%; color: var(--fc-ok); opacity: 0; transform: translateY(-50%) scale(0.6); transition: opacity var(--fc-dur-fast), transform var(--fc-dur-fast) var(--fc-ease-spring); pointer-events: none; }
.fc-field.is-valid .fc-field__ok { opacity: 1; transform: translateY(-50%) scale(1); }
.fc-field.is-valid .fc-field__input { border-color: var(--fc-ok); }
.fc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fc-field.is-valid .fc-field__input:focus-visible { border-color: var(--fc-ok); box-shadow: inset 0 -2px 0 0 var(--fc-ok); }
