/* Kunden-Cockpit · Menüpunkt „Vorlagen" (seit 02.10.2026)
 * Alles unter .vl gescoped bzw. mit vl- vorangestellt, damit nichts mit dem
 * Cockpit-CSS kollidiert. Nutzt die Farb-Variablen aus styles.css. */

.nav-item__count.vl-badge-neu { background: var(--brand-green); border-color: transparent; color: #fff; font-weight: 700; }
.nav-item.active .nav-item__count.vl-badge-neu { background: var(--brand-green); color: #fff; }

.vl { color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.vl [hidden] { display: none !important; }
.vl-card { background: var(--bg-shell); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.vl > .vl-card + .vl-card, .vl > .vl-card + div { margin-top: 20px; }
.vl-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.vl-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }

/* Kopf */
.vl-head { padding: 28px 32px; display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.vl-eyebrow { font-size: 12px; font-weight: 700; color: var(--brand-green-deep); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.vl-h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.vl-head p { color: var(--ink-3); margin-top: 8px; max-width: 620px; }
.vl-head p.vl-howto { margin-top: 10px; color: var(--ink-2); }
.vl-head p.vl-howto b { color: var(--brand-green-deep); }
.vl-seg { display: inline-flex; background: var(--bg-outer); border-radius: 14px; padding: 4px; gap: 2px; }
.vl-seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--ink-3); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.vl-seg .vl-n { font-size: 11px; color: var(--ink-4); font-weight: 600; }
.vl-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,31,.08); }
.vl-seg button.on .vl-n { color: var(--brand-green-deep); }

/* Ihre Angaben */
.vl-angaben { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.vl-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brand-green-deep); background: var(--brand-green-soft); border-radius: 999px; padding: 4px 10px; margin-top: 12px; }
.vl-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vl-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 5px; }
.vl-field input { width: 100%; border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--bg-tile); outline: none; transition: border .15s, box-shadow .15s; }
.vl-field input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 3px var(--brand-green-soft); background: #fff; }
.vl-field--auto input { background: var(--brand-green-soft); border-color: transparent; color: var(--brand-green-deep); font-weight: 600; }
.vl-field--wide { grid-column: span 2; }

/* Leitfaden */
.vl-lf { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.vl-lf-side { display: flex; flex-direction: column; gap: 20px; }
.vl-lf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.vl-prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.vl-prep div { background: var(--bg-tile); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 15px; }
.vl-prep b { display: block; font-size: 13px; margin-bottom: 3px; }
.vl-prep span { font-size: 12.5px; color: var(--ink-3); }
.vl-steps { position: relative; padding-left: 46px; }
.vl-steps::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--brand-green-line); }
.vl-step { position: relative; padding-bottom: 24px; }
.vl-step:last-child { padding-bottom: 0; }
.vl-step__no { position: absolute; left: -46px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-green); color: #fff; font-weight: 700; font-size: 13.5px; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.vl-step__no--light { background: #fff; color: var(--brand-green-deep); border: 2px solid var(--brand-green); }
.vl-step h3 { font-size: 15px; font-weight: 700; line-height: 32px; }
.vl-step h3 small { font-weight: 500; color: var(--ink-4); font-size: 12.5px; margin-left: 6px; }
.vl-step p { color: var(--ink-2); margin-top: 2px; }
.vl-say { margin-top: 10px; border-left: 3px solid var(--brand-green); background: var(--brand-green-soft); border-radius: 0 12px 12px 0; padding: 11px 15px; color: var(--ink); }
.vl-say::before { content: "So kann es klingen"; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand-green-deep); margin-bottom: 3px; }
.vl-ph { background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 0 5px; font-weight: 600; white-space: nowrap; }
.vl-side h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.vl-situ { border-top: 1px solid var(--border); padding: 13px 0; }
.vl-situ:first-of-type { border-top: 0; padding-top: 0; }
.vl-situ b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.vl-situ p { font-size: 13px; color: var(--ink-2); }
.vl-situ em { font-style: normal; display: block; margin-top: 6px; font-size: 13px; color: var(--ink); background: var(--bg-tile); border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; }
.vl-link { color: var(--brand-green-deep); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.vl-avoid { margin: 0; padding: 0; }
.vl-avoid li { list-style: none; position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }
.vl-avoid li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #E3A0A0; }
.vl-after { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-tile); border: 1px dashed var(--brand-green-line); font-size: 13.5px; color: var(--ink-2); }
.vl-after svg { flex: none; color: var(--brand-green-deep); }

/* Nachrichten */
.vl-phase + .vl-phase { margin-top: 28px; }
.vl-phase__head { display: flex; align-items: baseline; gap: 10px; padding: 0 6px; margin-bottom: 12px; }
.vl-phase__head h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.vl-phase__head span { font-size: 12.5px; color: var(--ink-3); }
.vl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vl-msg { background: var(--bg-shell); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; display: flex; flex-direction: column; }
.vl-msg--wide { grid-column: span 2; }
.vl-msg__title { font-size: 15px; font-weight: 700; }
.vl-msg__when { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.vl-variants { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.vl-variants button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.vl-variants button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.vl-bubble { margin-top: 14px; background: var(--bg-tile); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; white-space: pre-wrap; font-size: 14px; color: var(--ink); flex: 1; }
.vl-msg__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
.vl-open { font-size: 12px; color: var(--ink-4); }
.vl-open b { color: var(--amber); }
.vl-open--done { color: var(--brand-green-deep); font-weight: 600; }
.vl-btn { border: 0; border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: transform .1s, background .15s; flex: none; }
.vl-btn:active { transform: scale(.98); }
.vl-btn--primary { background: var(--brand-green); color: #fff; }
.vl-btn--primary:hover { background: var(--brand-green-deep); }
.vl-btn--copied, .vl-btn--copied:hover { background: var(--ink); }

.vl-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 13.5px; transition: all .2s; pointer-events: none; display: flex; gap: 8px; align-items: center; z-index: 50; }
.vl-toast.show { opacity: 1; transform: translate(-50%, 0); }
.vl-toast svg { color: #BDE5B1; }

@media (max-width: 1180px) {
  .vl-lf { grid-template-columns: 1fr; }
  .vl-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vl-angaben { grid-template-columns: 1fr; gap: 16px; }
  .vl-grid { grid-template-columns: 1fr; }
  .vl-msg--wide { grid-column: auto; }
  .vl-prep { grid-template-columns: 1fr; }
  .vl-head { padding: 22px 20px; }
  .vl-card { padding: 20px; }
  .vl-seg { width: 100%; }
  .vl-seg button { flex: 1; justify-content: center; padding: 9px 8px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .vl-fields { grid-template-columns: 1fr; }
  .vl-field--wide { grid-column: auto; }
  .vl-h1 { font-size: 23px; }
}

