/* Kostenlose Druckvorlage – Einstiegsseite (/fotoaufgaben-vorlage).
   Nutzt ausschliesslich die Design-Tokens aus public.css, damit ein Theme-Wechsel
   die Seite mitnimmt. */

.vorlage-page {
    max-width: 62rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 4rem;
}

/* ── Kopf ────────────────────────────────────────────────────────────────── */
.vorlage-hero {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.vorlage-hero__eyebrow {
    font-size: var(--font-size-sm, 0.875rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.6rem;
}

.vorlage-hero h1 {
    font-family: var(--font-family-display, Georgia, serif);
    font-size: clamp(2rem, 5.5vw, 3rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    color: var(--text-strong);
    text-wrap: balance;
}

.vorlage-hero__lead {
    max-width: 46ch;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    text-wrap: pretty;
}

/* ── Vorlagen-Raster ─────────────────────────────────────────────────────── */
.vorlage-grid {
    list-style: none;
    margin: 0 0 clamp(2.5rem, 6vw, 4rem);
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.vorlage-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.4rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md, 10px);
}

.vorlage-card__title {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-strong);
}

.vorlage-card__meta {
    margin: 0;
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.vorlage-card__desc {
    margin: 0.3rem 0 0;
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

.vorlage-card__cta {
    margin-top: auto;
    align-self: flex-start;
}

.vorlage-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
}

/* ── Überleitung ins Produkt ─────────────────────────────────────────────── */
.vorlage-upsell {
    border-top: 1px solid var(--color-border);
    padding-top: clamp(1.8rem, 4vw, 2.6rem);
    max-width: 46rem;
}

.vorlage-upsell h2 {
    font-family: var(--font-family-display, Georgia, serif);
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    margin: 0 0 0.8rem;
    color: var(--text-strong);
    text-wrap: balance;
}

.vorlage-upsell p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1rem;
    text-wrap: pretty;
}

.vorlage-upsell__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}
