/**
 * Beispiele-Seite: Layout für Vorschau-Karten (war nur mit home-example-* auf der Startseite gestylt).
 */

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.example-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.example-sheet {
    /* Gradient kommt aus inline-HTML */
    padding: 1.25rem 1rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.example-sheet-headline {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.example-sheet-desc {
    font-size: 0.82rem;
    text-align: center;
    opacity: 0.95;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.example-sheet-prices {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    margin-bottom: 0.75rem;
}

.example-sheet-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text);
}

.example-sheet-price-row span:last-child {
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.example-sheet-footer {
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.95;
    line-height: 1.35;
    margin-top: auto;
}

.example-card-body {
    padding: 1.25rem 1rem 1.35rem;
    border-top: 1px solid var(--color-border);
}

.example-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.example-input-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.example-card-body p:last-child {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

/* Fließtext unterhalb der Karten */
.examples-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.examples-section {
    margin-bottom: 2.25rem;
}

.examples-section h2 {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.examples-section > p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.examples-branches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.examples-branch {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.examples-branch h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.examples-branch p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.examples-why-list {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.examples-why-list li {
    margin-bottom: 0.5rem;
}

.examples-usecase {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: var(--color-surface);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.examples-usecase h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.examples-usecase p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.examples-faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.examples-faq-item:last-child {
    border-bottom: none;
}

.examples-faq-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.examples-faq-item p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.examples-outro {
    text-align: center;
    margin: 2rem 0 1.5rem;
    padding: 1.5rem 1rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.examples-outro p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.examples-outro .home-cta {
    display: inline-block;
}

@media (max-width: 480px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .example-sheet {
        min-height: 200px;
    }
}
