/* ══════════════════════════════════════════════════
   Feature cards – shared across Funktionen & Eigene Tests
   ══════════════════════════════════════════════════ */

/* ── fn-wrap container ── */
.fn-wrap {
    max-width: 860px;
    margin: 0 auto;
}

/* ── Highlighted features (wider, horizontal layout) ── */
.fn-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.fn-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fafcff 0%, #f5f8ff 100%);
    border: 1px solid #dce6f1;
    transition: all 0.25s ease;
}

.fn-highlight:hover {
    border-color: #c0d2e8;
    box-shadow: 0 4px 16px rgba(66, 121, 188, 0.08);
}

.fn-highlight--green {
    background: linear-gradient(135deg, #fafdfb 0%, #f3faf5 100%);
    border-color: #d1e7d8;
}

.fn-highlight--green:hover {
    border-color: #a3d4b1;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.07);
}

.fn-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4279BC;
    flex-shrink: 0;
}

.fn-highlight-icon svg {
    width: 24px;
    height: 24px;
}

.fn-highlight-icon--green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
}

.fn-highlight-text h4 {
    font-size: var(--text-size-100);
    font-weight: 600;
    color: #163c6b;
    margin-bottom: 6px;
    line-height: 1.3;
}

.fn-highlight-text p {
    font-size: var(--text-size-95);
    color: #64748b;    
    margin: 0;
}

/* ── Regular features (2x2 grid) ── */
.fn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fn-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.fn-item:hover {
    background-color: #f8fafc;
}

.fn-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f6ff 0%, #e0ecfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4279BC;
    flex-shrink: 0;
}

.fn-item-icon svg {
    width: 20px;
    height: 20px;
}

.fn-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #163c6b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.fn-item-text p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ── Planned features: dashed border ── */
.fn-grid--planned .fn-item {
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #d1d9e6;
    background: #fff;
    transition: all 0.25s ease;
}

.fn-grid--planned .fn-item:hover {
    border-style: solid;
    border-color: #c7d7ea;
    background-color: transparent;
    box-shadow: 0 4px 14px rgba(66, 121, 188, 0.07);
}

/* ── Suggestion hint (planned features footer) ── */
.fn-suggestion-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
}

.fn-suggestion-hint svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #4279BC;
    margin-top: 1px;
}

.fn-suggestion-hint p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.fn-suggestion-hint p strong {
    color: #163c6b;
}

/* ── Eigene Tests section (ot- prefix) ── */
.ot-panel {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.ot-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.ot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.ot-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.ot-item:hover {
    background-color: #f8fafc;
}

.ot-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f6ff 0%, #e0ecfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4279BC;
}

.ot-icon svg {
    width: 20px;
    height: 20px;
}

.ot-text h4 {
    font-size: var(--text-size-100);
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.ot-text p {
    font-size: var(--text-size-95);
    color: #64748b;    
    margin: 0;
}

.ot-footer {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

/* ── Einsatzmöglichkeiten section (eu- prefix) ── */
.eu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 940px;
    margin: 0 auto;
}

.eu-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8ecf1;
    transition: all 0.25s ease;
}

.eu-card:hover {
    border-color: #c7d7ea;
    box-shadow: 0 6px 20px rgba(66, 121, 188, 0.08);
}

.eu-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f1fb 0%, #d4e4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4279BC;
    margin-bottom: 18px;
}

.eu-card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.eu-card-text h4 {
    font-size: var(--text-size-100);
    font-weight: 600;
    color: #163c6b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.eu-card-text p {
    font-size: var(--text-size-95);
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .fn-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .fn-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fn-highlight {
        padding: 18px;
    }

    .fn-item {
        padding: 16px;
    }

    .ot-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ot-item {
        padding: 12px 8px;
    }

    .ot-subtitle {
        padding: 0 16px;
    }

    .eu-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 420px;
    }

    .eu-card {
        padding: 22px 20px;
    }
}
