/* ============================================
   Doppelter Boost – Intro + Accordion
   ============================================ */

.boost-section {
    padding: 70px 0 90px;
}

/* ---- Intro ---- */
.boost-intro {
    max-width: 880px;
    margin: 0 auto 64px;
    text-align: center;
}

.boost-kicker {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 18px;
}

.boost-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 640px;
    margin: 40px auto 0;
}

.boost-kpi {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-shadow: 0 10px 40px rgba(0, 10, 45, 0.08);
    overflow: hidden;
}

.boost-kpi::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-navy), var(--brand-blue), var(--brand-blue-light));
}

.boost-kpi-value {
    display: block;
    font-family: 'Audiowide', sans-serif;
    font-size: 44px;
    line-height: 1.1;
    color: var(--brand-blue);
    white-space: nowrap;
}

.boost-kpi-label {
    display: block;
    margin-top: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dark-navy);
}

/* ---- Eyebrow über dem Accordion ---- */
.boost-eyebrow {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto 24px;
    font-family: 'Audiowide', sans-serif;
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-navy);
}

.boost-eyebrow::before,
.boost-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 94, 173, 0.45), transparent);
}

/* ---- Accordion ---- */
.boost-accordion {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.boost-item {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 10, 45, 0.05);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.boost-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-blue-light), var(--dark-navy));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s ease;
}

.boost-item:hover {
    box-shadow: 0 8px 28px rgba(0, 10, 45, 0.10);
}

.boost-item.is-open {
    box-shadow: 0 16px 48px rgba(0, 10, 45, 0.12);
}

.boost-item.is-open::before {
    transform: scaleY(1);
}

.boost-heading {
    margin: 0;
    font-size: inherit;
}

.boost-trigger {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 26px 32px;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.boost-trigger:focus-visible {
    outline: 3px solid var(--brand-blue-light);
    outline-offset: -3px;
    border-radius: 14px;
}

.boost-nr {
    flex-shrink: 0;
    width: 64px;
    font-family: 'Audiowide', sans-serif;
    font-size: 34px;
    line-height: 1;
    color: rgba(37, 94, 173, 0.35);
    transition: color 0.35s ease;
}

.boost-item.is-open .boost-nr,
.boost-trigger:hover .boost-nr {
    color: var(--brand-blue);
}

.boost-titles {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.boost-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--dark-navy);
}

.boost-teaser {
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 1.4em;
    opacity: 1;
    transition: opacity 0.3s ease, max-height 0.35s ease;
}

.boost-item.is-open .boost-teaser {
    opacity: 0;
    max-height: 0;
}

.boost-icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border-gray);
    transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.45s ease;
}

.boost-icon::before,
.boost-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--brand-blue);
    transition: transform 0.45s ease, background-color 0.35s ease;
}

.boost-icon::after {
    transform: rotate(90deg);
}

.boost-trigger:hover .boost-icon {
    border-color: var(--brand-blue);
}

.boost-item.is-open .boost-icon {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: rotate(180deg);
}

.boost-item.is-open .boost-icon::before,
.boost-item.is-open .boost-icon::after {
    background: var(--white);
}

.boost-item.is-open .boost-icon::after {
    transform: rotate(0deg);
}

/* Weiches Auf-/Zuklappen ohne Höhenmessung */
.boost-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease;
}

.boost-item.is-open .boost-panel {
    grid-template-rows: 1fr;
}

.boost-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.boost-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    margin: 0 32px 0 124px;
    padding: 28px 0 36px;
    border-top: 1px solid var(--border-gray);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.boost-item.is-open .boost-body {
    opacity: 1;
    transform: none;
    transition-delay: 0.12s;
}

.boost-text p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.boost-text p:last-child {
    margin-bottom: 0;
}

.boost-claim {
    margin-top: 26px;
    padding-left: 20px;
    border-left: 3px solid var(--brand-blue);
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: var(--brand-blue);
}

.boost-list {
    list-style: none;
    margin: 0;
    padding: 22px 24px;
    background: var(--light-gray);
    border-radius: 12px;
    align-self: start;
}

.boost-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
    color: var(--text-dark);
}

.boost-list li + li {
    border-top: 1px solid rgba(0, 10, 45, 0.06);
}

.boost-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(37, 94, 173, 0.12);
    color: var(--brand-blue);
}

/* ---- Highlight-Variante (tax.brain) ---- */
.boost-item--dark {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0d1f5c 60%, var(--brand-blue) 140%);
}

.boost-item--dark::before {
    background: linear-gradient(180deg, var(--gold), #b98f12);
}

.boost-item--dark .boost-title,
.boost-item--dark .boost-text p,
.boost-item--dark .boost-text .default-color {
    color: var(--white);
}

.boost-item--dark .boost-teaser {
    color: rgba(255, 255, 255, 0.65);
}

.boost-item--dark .boost-nr {
    color: rgba(225, 178, 34, 0.55);
}

.boost-item--dark.is-open .boost-nr,
.boost-item--dark .boost-trigger:hover .boost-nr {
    color: var(--gold);
}

.boost-item--dark .boost-icon {
    border-color: rgba(255, 255, 255, 0.3);
}

.boost-item--dark .boost-icon::before,
.boost-item--dark .boost-icon::after {
    background: var(--gold);
}

.boost-item--dark.is-open .boost-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.boost-item--dark.is-open .boost-icon::before,
.boost-item--dark.is-open .boost-icon::after {
    background: var(--dark-navy);
}

.boost-item--dark .boost-body {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.boost-item--dark .boost-text .boost-claim {
    color: var(--gold);
    border-left-color: var(--gold);
}

.boost-item--dark .boost-list {
    background: rgba(255, 255, 255, 0.07);
}

.boost-item--dark .boost-list li {
    color: var(--white);
}

.boost-item--dark .boost-list li + li {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.boost-item--dark .boost-check {
    background: rgba(225, 178, 34, 0.18);
    color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    .boost-item,
    .boost-item::before,
    .boost-panel,
    .boost-body,
    .boost-icon,
    .boost-icon::before,
    .boost-icon::after,
    .boost-teaser {
        transition: none;
    }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .boost-section {
        padding: 50px 0 60px;
    }

    .boost-intro {
        margin-bottom: 44px;
    }

    .boost-kicker {
        font-size: 24px;
    }

    .boost-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin: 0 24px 0 24px;
    }

    .boost-trigger {
        gap: 18px;
        padding: 22px 24px;
    }

    .boost-nr {
        width: auto;
        font-size: 26px;
    }

    .boost-title {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .boost-kpis {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .boost-kpi-value {
        font-size: 36px;
    }

    .boost-eyebrow {
        font-size: 16px;
        gap: 12px;
    }

    .boost-trigger {
        gap: 14px;
        padding: 18px 16px;
        align-items: flex-start;
    }

    .boost-nr {
        font-size: 20px;
        padding-top: 2px;
    }

    .boost-title {
        font-size: 16px;
        letter-spacing: 0.02em;
    }

    .boost-teaser {
        display: none;
    }

    .boost-icon {
        width: 34px;
        height: 34px;
    }

    .boost-body {
        margin: 0 16px;
        padding: 20px 0 24px;
    }

    .boost-text p {
        font-size: 17px;
    }

    .boost-claim {
        font-size: 19px !important;
    }

    .boost-list {
        padding: 14px 16px;
    }

    .boost-list li {
        font-size: 16px;
    }
}

/* ============================================
   Registrierungswall – im Header „Jetzt eintauchen“
   ============================================ */

.boost-gate {
    /* Verlauf endet bewusst dunkel: das helle „ai“ braucht überall ≥ 4,5:1 Kontrast */
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0d1f5c 55%, #183a78 100%);
    color: var(--white);
    padding: 72px 0 64px;
    text-align: center;
    scroll-margin-top: var(--navbar-height);
}

.boost-gate-title {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 6rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 auto;
    max-width: 1400px;
}

.boost-gate-brand {
    font-family: 'Audiowide', sans-serif;
    font-weight: 700; /* Audiowide hat nur Regular – der Browser verstärkt synthetisch */
    color: var(--white);
    white-space: nowrap;
}

.boost-gate-ai {
    color: #6FA8FF;
}

.boost-gate-body {
    max-width: 760px;
    margin: 40px auto 0;
}

.boost-gate-body[hidden],
.boost-gate-status[hidden] {
    display: none;
}

.boost-gate-teaser {
    font-size: 21px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 26px;
}

.boost-gate-row {
    display: flex;
    gap: 12px;
}

.boost-gate-row .form-control {
    flex: 1;
    min-width: 0;
    height: 60px;
    padding: 0 1.2rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 18px;
    font-family: 'PT Sans', sans-serif;
}

.boost-gate-row .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(225, 178, 34, 0.3);
}

.boost-gate-row .btn-cta {
    flex-shrink: 0;
    height: 60px;
    padding: 0 26px;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
    background: var(--gold);
    color: var(--dark-navy);
    font-weight: 700;
}

.boost-gate-row .btn-cta:hover {
    background: var(--white);
}

.boost-gate-row .btn-cta:disabled {
    opacity: 0.7;
    transform: none;
}

.boost-gate-privacy {
    margin: 14px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.boost-gate-privacy a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.boost-gate-status {
    margin-top: 14px;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fde8e8;
    color: #8a1f1f;
    border: 1px solid #f1b6b6;
}

.boost-gate[hidden] {
    display: none;
}

/* ---- Überschrift über dem Accordion ---- */
.boost-accordion-title {
    max-width: 1080px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy);
    scroll-margin-top: calc(var(--navbar-height) + 24px);
}

.boost-accordion-brand {
    font-family: 'Audiowide', sans-serif;
    font-weight: 700;
    color: var(--dark-navy);
    white-space: nowrap;
}

.boost-accordion-ai {
    color: var(--brand-blue);
}

.boost-gate-body.is-pulsing .boost-gate-row {
    animation: boost-gate-pulse 1.2s ease;
    border-radius: 8px;
}

@keyframes boost-gate-pulse {
    0%, 100% { box-shadow: none; }
    40%      { box-shadow: 0 0 0 6px rgba(225, 178, 34, 0.6); }
}

/* Gesperrte Accordion-Einträge: Schloss statt Plus */
.boost-accordion.is-locked .boost-icon::before {
    width: 12px;
    height: 10px;
    margin: -2px 0 0 -6px;
    border-radius: 2px;
}

.boost-accordion.is-locked .boost-icon::after {
    width: 8px;
    height: 8px;
    margin: -9px 0 0 -4px;
    border: 2px solid var(--brand-blue);
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    background: none;
    transform: none;
}

.boost-accordion.is-locked .boost-item--dark .boost-icon::after {
    border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    .boost-gate-body.is-pulsing .boost-gate-row {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .boost-gate {
        padding: 52px 0 46px;
    }

    .boost-gate-teaser {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .boost-gate-row {
        flex-direction: column;
    }

    .boost-gate-row .form-control,
    .boost-gate-row .btn-cta {
        flex: none;
        height: 52px;
    }
}
