/*
 * Firmenfeiern content styling
 * Scope every rule under .ff-content so it never leaks into the hero,
 * configurator or other page sections. Reuse on any firmenfeier (city) page
 * by wrapping the SEO text block in <div class="ff-content"> … </div>.
 *
 * Optional building blocks:
 *   <ol class="ff-ideas">   – numbered "idea" cards (e.g. Top 5 Ideen)
 *   <div class="ff-faq">    – highlighted FAQ block
 */

.ff-content {
    color: var(--text-menu, #474542);
    font-size: 1.05rem;
    line-height: 1.75;
}

.ff-content h2 {
    position: relative;
    color: var(--text, #1f2a37);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    line-height: 1.25;
    margin: 2.4rem 0 1rem;
    padding-bottom: .5rem;
}

.ff-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: var(--cta-primary, #EB7D00);
}

.ff-content > h2:first-of-type {
    margin-top: 0;
}

.ff-content h3 {
    color: var(--text, #1f2a37);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.6rem 0 .6rem;
}

.ff-content p {
    margin: 0 0 1.1rem;
}

.ff-content a.link {
    color: var(--link, #8dcaea);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s;
}

.ff-content a.link:hover {
    border-bottom-color: currentColor;
}

/* Generic idea/feature lists */
.ff-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.4rem;
}

.ff-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .7rem;
}

.ff-content ul li::before {
    content: "";
    position: absolute;
    left: .1rem;
    top: .62em;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--dt-koral, #f1a3a3);
}

/* Numbered idea cards (e.g. Top 5 Ideen) */
.ff-ideas {
    list-style: none;
    counter-reset: ff-idea;
    padding-left: 0;
    margin: 1.4rem 0 2rem;
    display: grid;
    gap: 24px;
}

.ff-ideas > li {
    counter-increment: ff-idea;
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 26px 28px 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.ff-ideas > li > strong:first-child {
    display: flex;
    align-items: center;
    min-height: 2.1rem;
    padding-left: 3rem;
    color: var(--text, #1f2a37);
    font-size: 1.18rem;
    line-height: 1.3;
    margin-bottom: .7rem;
}

.ff-ideas > li::before {
    content: counter(ff-idea);
    position: absolute;
    left: 28px;
    top: 26px;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--cta-primary, #EB7D00);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-ideas > li ul {
    margin: 1rem 0 .4rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.ff-ideas > li ul li::before {
    content: "";
    top: .28em;
    left: .15rem;
    width: .5rem;
    height: .85rem;
    border: solid var(--cta-primary, #EB7D00);
    border-width: 0 .18rem .18rem 0;
    border-radius: 0;
    background: none;
    transform: rotate(45deg);
}

/* Highlighted FAQ block */
.ff-faq {
    background: var(--dt-altrosa, #fae9e9);
    border-radius: 16px;
    padding: 6px 28px;
    margin: 1rem 0 1.5rem;
}

.ff-faq h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    padding: 1.15rem 0 .5rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.ff-faq h2::after {
    display: none;
}

.ff-faq h2:first-child {
    border-top: none;
}

.ff-faq p:last-child {
    margin-bottom: 1.15rem;
}

.ff-content .row {
    margin-top: 1.5rem;
}

@media (max-width: 576px) {
    .ff-ideas > li {
        padding: 22px 18px 10px;
    }

    .ff-ideas > li::before {
        left: 18px;
        top: 22px;
    }
}
