/* Lebenslied – Logik in web/src/lebenslied/app.js. Abend-Farben: Pflaume, Gold, Creme (Bühne, Musik). */
@import url("/feierplaner/fonts.css");
.ll-main { --ll-ink: #2e1f4a; --ll-plum: #6b2f6b; --ll-gold: #b8862f; --ll-cream: #fbf7ff; --ll-soft: color-mix(in srgb, #8b6bb8 12%, var(--surface)); }
#ll { display: flex; flex-direction: column; gap: 30px; }
.ll-sec { display: flex; flex-direction: column; gap: 14px; }
.ll-h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.95rem; line-height: 1.1; margin: 0; }
.ll-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); vertical-align: -2px; }

/* Kopf */
.ll-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .ll-hero { grid-template-columns: 1fr; } }
.ll-hero-txt { display: flex; flex-direction: column; gap: 12px; }
.ll-hero-txt p { margin: 0; }
.ll-claim { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.4rem; line-height: 1.05; font-weight: 600; margin: 0; color: var(--ll-plum); }
.ll-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.ll-xmas { padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, #16a34a 10%, var(--surface)); border: 1px solid color-mix(in srgb, #16a34a 30%, var(--border)); font-weight: 600; }
.ll-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ll-hero-vid { display: flex; flex-direction: column; gap: 6px; }

/* YouTube-Platzhalter: Vorschaubild, lädt erst nach dem Klick */
.ll-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #120c1e; box-shadow: 0 18px 40px -26px rgba(46, 31, 74, .9); }
.ll-yt--big { border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(46, 31, 74, .95), 0 0 0 6px color-mix(in srgb, var(--ll-gold) 35%, transparent); }
.ll-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ll-yt-start { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.ll-yt-start img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .9, .3, 1), filter .3s; }
.ll-yt-start:hover img { transform: scale(1.03); filter: brightness(1.06); }
.ll-yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px; box-sizing: border-box;
  font-size: 1.6rem; color: #fff; background: color-mix(in srgb, var(--ll-plum) 88%, transparent); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.ll-yt-start:hover .ll-yt-play { transform: scale(1.1); }
.ll-yt--big .ll-yt-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 2.1rem; }
.ll-yt-len { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .8rem; font-weight: 700; }
.ll-yt-note { position: absolute; left: 10px; bottom: 9px; color: #fff; font-size: .75rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); max-width: 70%; text-align: left; }

/* Beispiele */
.ll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ll-ex { display: flex; flex-direction: column; gap: 4px; }
.ll-ex > b { font-size: 1.05rem; margin-top: 4px; }
.ll-ex > small { color: var(--muted); line-height: 1.35; }
.ll-ex-ru { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }

/* Schritte */
.ll-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ll-step { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); animation: llIn .5s var(--d, 0s) both; }
.ll-step-ico { font-size: 1.8rem; }
.ll-step span:last-child { color: var(--muted); font-size: .92rem; }
@keyframes llIn { from { opacity: 0; transform: translateY(8px); } }
.ll-when { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 16px; border-radius: 14px; background: var(--ll-soft); }

/* Pakete + Kasse */
.ll-pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .ll-pkgs { grid-template-columns: 1fr; } }
.ll-pkg { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 18px 16px 14px; border-radius: 18px; border: 2px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), border-color .2s, box-shadow .2s; }
.ll-pkg:hover { transform: translateY(-3px); }
.ll-pkg.on { border-color: var(--ll-plum); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--ll-plum) 80%, transparent); }
.ll-pkg.best { background: linear-gradient(180deg, color-mix(in srgb, var(--ll-gold) 14%, var(--surface)), var(--surface)); }
.ll-best { position: absolute; top: -11px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--ll-plum); color: #fff; font-size: .78rem; font-weight: 700; }
.ll-pkg-emo { font-size: 1.9rem; }
.ll-pkg-name { font-size: 1.15rem; }
.ll-pkg-sub { color: var(--muted); font-size: .9rem; }
.ll-price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.1rem; font-weight: 600; color: var(--ll-plum); line-height: 1.1; margin: 4px 0; }
.ll-price small { font-family: var(--font); font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.ll-pkg ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; font-size: .9rem; }
.ll-buybox { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.ll-gift-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
@media (max-width: 560px) { .ll-gift-fields { grid-template-columns: 1fr; } }
.ll-field { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.ll-field--wide { grid-column: 1 / -1; }
.ll-field--date .h-input { max-width: 220px; }
.ll-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ll-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ll-plum); flex-shrink: 0; }
.ll-eil { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #f59e0b 9%, var(--surface)); border: 1px dashed color-mix(in srgb, #f59e0b 45%, var(--border)); }
.ll-rabatt { margin: 0; font-weight: 700; color: var(--ll-plum); }
.ll-terms.shake { animation: llShake .4s; }
@keyframes llShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ll-buy { align-self: flex-start; }
.ll-err { color: #b91c1c; margin: 0; min-height: 1em; }
.ll-pause { font-weight: 600; }
.ll-lb { flex-direction: row; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #fff6e4, #fbead0); color: #4a2c12; }
.ll-lb p { margin: 4px 0 0; } .ll-lb a { color: #9a3412; font-weight: 700; }
.ll-lb-ico { font-size: 2.4rem; }

/* Meine Lebenslieder */
.ll-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.ll-order { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, #fbf7ff, #efe4fb); color: var(--ll-ink); border-color: #d9c6f0; }
.ll-order-top { display: flex; gap: 10px; align-items: flex-start; }
.ll-order-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ll-order-top small { color: #5b4a7a; }
.ll-order-ico { font-size: 1.8rem; }
.ll-status { font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff; white-space: nowrap; }
.ll-status--abnahme { background: #dcfce7; color: #166534; } .ll-status--fertig { background: #e0e7ff; color: #3730a3; }
.ll-code { font-family: ui-monospace, Consolas, monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: .14em; text-align: center; padding: 8px; border-radius: 10px; border: 2px dashed #8b6bb8; background: #fff; }
.ll-order-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ll-order .h-hint { color: #5b4a7a; }
.ll-redeem { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 18px; background: radial-gradient(120% 90% at 50% 0, #f3eafd, var(--surface) 70%); }
.ll-redeem h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; margin: 0; }
.ll-redeem-ico { font-size: 3rem; animation: llPop .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes llPop { from { transform: scale(.4); opacity: 0; } }
.ll-from { margin: 0; font-weight: 700; } .ll-note { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.2rem; }
.ll-bought { font-weight: 600; }

/* Auftrag: Material */
.ll-ohead { display: flex; flex-direction: column; gap: 4px; }
.ll-ohead p { margin: 0; }
.ll-back { font-weight: 700; font-size: .9rem; }
.ll-saveinfo { margin: 0; color: var(--muted); }
#llSave { font-weight: 700; color: var(--ll-plum); }
.ll-form { display: flex; flex-direction: column; gap: 14px; }
.ll-form--ro { opacity: .85; }
.ll-step-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.ll-step-card h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.ll-step-card p { margin: 0; }
.ll-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ll-plum); color: #fff; font-size: .95rem; flex-shrink: 0; }
.ll-label { font-weight: 700; font-size: .9rem; }
.ll-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ll-chip.on { background: var(--ll-plum); color: #fff; border-color: var(--ll-plum); }
.ll-help summary { cursor: pointer; font-weight: 700; color: var(--ll-plum); }
.ll-help ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.ll-drop { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 18px; border-radius: 14px; border: 2px dashed color-mix(in srgb, var(--ll-plum) 40%, var(--border)); background: var(--ll-soft); font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.ll-drop:hover, .ll-drop.on { background: color-mix(in srgb, var(--ll-plum) 16%, var(--surface)); transform: translateY(-1px); }
.ll-drop small { font-weight: 400; color: var(--muted); }
.ll-files { display: flex; flex-direction: column; gap: 6px; }
.ll-files:empty { display: none; }
.ll-files--fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ll-file { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg, transparent); }
.ll-file img, .ll-file-ph { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; font-size: 1.5rem; background: var(--ll-soft); }
.ll-file-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ll-file-name { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ll-file-name small { font-weight: 400; color: var(--muted); }
.ll-file--up { grid-template-columns: auto 1fr 120px; opacity: .85; }
.ll-file progress { width: 100%; accent-color: var(--ll-plum); }
.ll-submit { border: 2px solid var(--ll-plum); background: linear-gradient(180deg, color-mix(in srgb, var(--ll-plum) 6%, var(--surface)), var(--surface)); }
.ll-submit .h-btn { align-self: flex-start; }
.ll-wait { font-weight: 600; }

/* Lieferung */
.ll-deliv { gap: 16px; }
.ll-vid { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ll-vid video { width: 100%; max-height: 72vh; border-radius: 16px; background: #000; box-shadow: 0 24px 50px -28px rgba(46, 31, 74, .9); }
.ll-vid figcaption { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.ll-dl { display: flex; flex-wrap: wrap; gap: 8px; }
.ll-dl small { opacity: .75; }
.ll-share, .ll-review { display: flex; flex-direction: column; gap: 8px; }
.ll-share p, .ll-review p { margin: 0; }
.ll-review { border: 2px solid color-mix(in srgb, #16a34a 45%, var(--border)); }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ll-order, :root:not([data-theme="light"]) .ll-order .h-btn, :root:not([data-theme="light"]) .ll-lb { color: var(--ll-ink); } :root:not([data-theme="light"]) .ll-lb { color: #4a2c12; } }
:root[data-theme="dark"] .ll-order, :root[data-theme="dark"] .ll-order .h-btn { color: var(--ll-ink); }
:root[data-theme="dark"] .ll-lb { color: #4a2c12; }
@media (prefers-reduced-motion: reduce) { .ll-step, .ll-redeem-ico, .ll-terms.shake { animation: none; } .ll-yt-start img { transition: none; } }
