/* ════════════════════════════════════════════════════════════════
   vorlagen.css — /vorlagen und /vorlagen/… (24.11.2026)
   Ergänzt seo_seite.css (Startseiten-Stil): weisse Karten, feine
   Linie, weicher Schatten, Farbbalken wie bei den Etappen.
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────── */
.vl-suche {
    position: relative;
    max-width: 520px;
    margin: 22px 0 10px;
}
.vl-suche svg {
    position: absolute;
    left: 16px; top: 50%;
    width: 19px; height: 19px;
    transform: translateY(-50%);
    fill: none; stroke: rgba(29, 29, 31, 0.45); stroke-width: 2; stroke-linecap: round;
    pointer-events: none;
}
.vl-suche input {
    width: 100%;
    height: 54px;
    box-sizing: border-box;
    padding: 0 18px 0 46px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(60, 60, 110, 0.10);
    font: inherit;
    font-size: 16px;
    color: #1d1d1f;
    outline: none;
}
.vl-suche input:focus { border-color: #b8b0f4; background: #fff; box-shadow: 0 0 0 4px rgba(184, 176, 244, 0.35), 0 10px 30px rgba(60, 60, 110, 0.10); }
.vl-hero-info { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--sl-fein, rgba(29, 29, 31, 0.52)); }

.vl-stapel { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 0.92; margin-left: auto; }
.vl-stapel-karte {
    position: absolute;
    width: 78%;
    padding: 14px 14px 8px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(29, 29, 31, 0.06);
    box-shadow: 0 1px 2px rgba(40, 40, 80, 0.04), 0 22px 50px rgba(60, 60, 110, 0.14);
}
.vl-stapel-karte svg { display: block; width: 100%; height: auto; }
.vl-stapel-titel { display: block; margin: 0 0 4px 4px; font-size: 13px; font-weight: 800; letter-spacing: -0.2px; color: #1d1d1f; }
.vl-stapel-1 { top: 0; left: 0; transform: rotate(-4deg); }
.vl-stapel-2 { top: 26%; right: 0; transform: rotate(3deg); z-index: 2; }
.vl-stapel-3 { bottom: 0; left: 8%; transform: rotate(-1.5deg); z-index: 3; }

/* ── Filter ───────────────────────────────────────────────────────── */
.vl-bereich { padding-top: 6px; }
.vl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.vl-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(29, 29, 31, 0.1);
    border-radius: 18px;
    background: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(29, 29, 31, 0.75);
    cursor: pointer;
}
.vl-chip span { font-weight: 600; color: rgba(29, 29, 31, 0.62); font-size: 12px; }   /* .62 statt .4: Kontrast 4,7:1 statt 2,5:1 (27.11.2026) */
.vl-chip:hover { border-color: rgba(29, 29, 31, 0.22); color: #1d1d1f; }
.vl-chip.is-aktiv { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.vl-chip.is-aktiv span { color: rgba(255, 255, 255, 0.6); }
.vl-treffer { min-height: 20px; margin: 4px 0 6px; font-size: 14px; font-weight: 600; color: rgba(29, 29, 31, 0.55); }

/* ── Gruppen und Raster ───────────────────────────────────────────── */
.vl-gruppe { margin: 22px 0 46px; }
.vl-gruppe[hidden], .vl-karte[hidden] { display: none !important; }
.vl-gruppe-text { margin: -6px 0 18px; font-size: 15.5px; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }
.vl-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* ── Karte ────────────────────────────────────────────────────────── */
.sl a.vl-karte, .vl-karte {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(29, 29, 31, 0.07);
    border-radius: 22px;
    overflow: hidden;
    color: #1d1d1f;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(40, 40, 80, 0.04), 0 14px 40px rgba(60, 60, 110, 0.07);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vl-karte:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(40, 40, 80, 0.05), 0 22px 56px rgba(60, 60, 110, 0.12); }
.vl-karte-bild {
    display: block;
    padding: 10px 10px 4px;
    background: linear-gradient(180deg, #f4f2fa, #ffffff);
    border-bottom: 1px solid rgba(29, 29, 31, 0.05);
}
.vl-karte-bild svg { display: block; width: 100%; height: auto; }
.vl-karte-inhalt { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 18px; flex: 1 1 auto; }
.vl-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }   /* wrap: bei schmalen Karten rutscht „Kostenlos" in die nächste Zeile statt abgeschnitten zu werden */
.vl-karte-kat { font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(29, 29, 31, 0.62); }   /* .62 statt .45: Kontrast 4,7:1 statt 2,8:1 */
.vl-karte-titel { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; color: #1d1d1f; }
.vl-karte-text { font-size: 13.5px; line-height: 1.5; color: rgba(29, 29, 31, 0.68); }
.vl-karte-meta { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 600; color: rgba(29, 29, 31, 0.5); }
.vl-marke {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.vl-marke-frei { background: rgba(168, 216, 185, 0.45); color: #2d6a45; }
.vl-marke-pro { background: rgba(184, 176, 244, 0.35); color: #4f4a8c; }

.vl-leer { padding: 40px 28px; margin: 10px 0 40px; border-radius: 22px; background: #fff; text-align: center; }
.vl-leer h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.vl-leer p { margin: 0 auto 18px; max-width: 520px; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }

/* ── Fragen ───────────────────────────────────────────────────────── */
.vl-faq { margin: 20px 0 50px; max-width: 860px; }
.vl-frage {
    margin: 0 0 10px;
    padding: 0 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(29, 29, 31, 0.07);
}
.vl-frage summary {
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.vl-frage summary::-webkit-details-marker { display: none; }
.vl-frage summary::after { content: '+'; float: right; font-weight: 800; color: rgba(29, 29, 31, 0.4); }
.vl-frage[open] summary::after { content: '–'; }
.vl-frage p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }

/* ── Einzelseite ──────────────────────────────────────────────────── */
.vl-hero-kat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.vl-hero-kat a { color: rgba(29, 29, 31, 0.55); text-decoration: none; }
.vl-hero-kat a:hover { color: #1d1d1f; }
.vl-hero-kat .vl-marke { text-transform: none; letter-spacing: 0; font-size: 12px; }
.vl-hero-vorschau {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(29, 29, 31, 0.06);
    box-shadow: 0 1px 2px rgba(40, 40, 80, 0.04), 0 24px 60px rgba(60, 60, 110, 0.14);
    transform: rotate(-1.5deg);
}
.vl-hero-vorschau svg { display: block; width: 100%; height: auto; }

.vl-vorschau-bereich { margin: 6px 0 50px; }
.vl-vorschau-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.vl-vorschau-kopf .sl-h2 { margin-bottom: 0; }
.vl-vorschau-hinweis { margin: 0; font-size: 13.5px; color: rgba(29, 29, 31, 0.55); }
.vl-verwenden {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 18px 22px;
    border-radius: 20px;
    background: var(--sl-flaeche, #f6f5fb);
}
.vl-verwenden strong { display: block; font-size: 16px; font-weight: 800; }
.vl-verwenden span { font-size: 14px; color: rgba(29, 29, 31, 0.62); }
.vl-verwenden .sl-knoepfe { margin: 0; }

.vl-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; margin: 0 0 50px; align-items: start; }
.vl-inhalt-text p { font-size: 16.5px; line-height: 1.7; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }
.vl-fuer { padding: 12px 16px; border-left: 4px solid #b8b0f4; background: #faf9fe; border-radius: 0 12px 12px 0; font-weight: 600; }
.vl-h3 { margin: 26px 0 12px; font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.vl-schritte { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }
.vl-schritte strong { color: #1d1d1f; }
.vl-phasen { display: flex; flex-direction: column; gap: 12px; }
.vl-phasen .sl-h2 { margin-bottom: 6px; }
.vl-phase { padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid rgba(29, 29, 31, 0.07); }
.vl-phase h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.vl-phase-farbe { flex: 0 0 28px; height: 8px; border-radius: 4px; }
.vl-phase ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; line-height: 1.5; color: rgba(29, 29, 31, 0.75); }
.vl-todo-anzahl { margin-left: 4px; font-size: 12px; font-weight: 700; color: rgba(29, 29, 31, 0.4); }

/* ── Ablauf in Phasen und Tipps (25.11.2026) ─────────────────────── */
.vl-ablauf { margin: 0 0 50px; }
.vl-ablauf-intro { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--sl-text, rgba(29, 29, 31, 0.72)); }
.vl-ablauf-liste { list-style: none; margin: 0; padding: 0; counter-reset: vlschritt; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vl-ablauf-liste li { counter-increment: vlschritt; position: relative; padding: 16px 18px 14px 52px; border-radius: 18px; background: #fff; border: 1px solid rgba(29, 29, 31, 0.07); }
.vl-ablauf-liste li::before { content: counter(vlschritt); position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: rgba(91, 84, 168, 0.12); color: #4f4a8c; font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vl-ablauf-liste h3 { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; font-size: 15.5px; font-weight: 800; }
.vl-ablauf-liste h3 .vl-phase-farbe { flex-basis: 18px; height: 6px; }
.vl-ablauf-liste p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(29, 29, 31, 0.7); }
.vl-tipps { margin: 0 0 50px; padding: 24px 26px; border-radius: 22px; background: #faf9fe; border: 1px solid rgba(184, 176, 244, 0.45); max-width: 860px; }
.vl-tipps .sl-h2 { margin-top: 0; }
.vl-tipps ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vl-tipps li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.6; color: rgba(29, 29, 31, 0.78); }
.vl-tipps li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #5b54a8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.vl-verwandt { margin: 0 0 40px; }
.vl-alle { margin: 18px 0 0; font-weight: 700; }

@media (max-width: 900px) {
    .vl-inhalt { grid-template-columns: 1fr; gap: 30px; }
    .vl-stapel { max-width: 360px; margin: 0 auto; }
    .vl-hero-vorschau { margin: 0 auto; transform: none; }
}
@media (max-width: 600px) {
    .vl-raster { grid-template-columns: 1fr; }
    .vl-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .vl-chip { flex-shrink: 0; }
    .vl-verwenden { padding: 16px; }
}

/* ── Fotos in den Kacheln (24.11.2026, Unsplash) ──────────────────── */
.vl-karte-bild.vl-karte-foto {
    position: relative;
    padding: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ece9f4;
}
.vl-karte-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.vl-karte:hover .vl-karte-foto img { transform: scale(1.04); }
.vl-karte-mini {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38%;
    padding: 4px 4px 1px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(20, 20, 50, 0.22);
}
.vl-karte-mini svg { display: block; width: 100%; height: auto; }

.vl-hero-foto { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.vl-hero-foto img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(60, 60, 110, 0.18);
}
.vl-hero-vorschau.vl-hero-vorschau-klein {
    position: absolute;
    left: -28px;
    bottom: -26px;
    width: 52%;
    padding: 10px;
    border-radius: 18px;
}
@media (max-width: 900px) {
    .vl-hero-foto { margin: 0 auto; }
    .vl-hero-vorschau.vl-hero-vorschau-klein { left: 10px; bottom: -18px; width: 46%; }
}
