/* Brautpaar — perspektivische Bausteine */

/* Heute: Nachtkarte mit Kette */
.hero { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2); }
.hero-in { position: relative; padding: 18px 18px 16px; }
.hero-big { font-size: 2.75rem; line-height: 1.02; margin: 6px 0 4px; letter-spacing: -0.02em; }
.hero.live .hero-in { padding-bottom: 18px; }
.chain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.chain::before { content: ''; position: absolute; top: 11px; left: 8%; right: 8%; height: 1px; background: rgba(243, 234, 214, 0.25); }
.chain li { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.chain .cd { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(243, 234, 214, 0.35); background: var(--night); color: var(--night); }
.chain .cd .icon { width: 13px; height: 13px; }
.chain .cl { font-size: 10px; color: var(--ivory-muted); white-space: nowrap; }
.chain .done .cd { background: var(--ivory-muted); border-color: var(--ivory-muted); }
.chain .cur .cd { background: var(--night-accent); border-color: var(--night-accent); box-shadow: 0 0 0 5px rgba(212, 183, 143, 0.22); }
.chain .cur .cl { color: var(--night-accent); font-weight: 600; }
.now-next { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.now-next > div { background: rgba(243, 234, 214, 0.08); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; }
.now-next b { font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0684f; display: inline-block; animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 104, 79, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(224, 104, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 104, 79, 0); } }

/* Jetzt-dran-Karten */
.now-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 14px 14px; }
.now-card .chev { margin-top: 2px; }
.nc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; flex: none; color: var(--accent-ink); }
.now-card.primary { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-1); }
.now-card.primary .nc-ic { background: var(--accent-ink); color: var(--sheet); }
.nc-t { display: block; font-weight: 600; line-height: 1.3; }
.nc-d { display: block; font-size: var(--fs-s); color: var(--ink-muted); margin-top: 3px; line-height: 1.4; }
.fi { width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; flex: none; color: var(--accent-ink); }
.fi.warn { background: var(--open-wash); color: var(--open); }
.fi.gold { background: var(--open-wash); color: #6c4b1d; }
.li.feed { min-height: 52px; padding: 10px 14px; }
.li.feed .fi { width: 28px; height: 28px; border-radius: 8px; }

/* Gäste */
.li.hh { align-items: center; }
.people { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: var(--fs-s); color: var(--ink-muted); }
.pp { display: inline-flex; align-items: center; gap: 5px; }
.pp .pdot { width: 8px; height: 8px; }
.pp .pdot.offen { box-shadow: inset 0 0 0 1.5px var(--open); }
.hh-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.hh-r .ch { color: var(--ink-soft); display: inline-flex; }
.pers { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px; }
.empty-hero { text-align: center; padding: 6px 8px 8px; }
.empty-hero img { width: 120px; margin: 0 auto 6px; }
.empty-hero h2 { font-size: var(--fs-2xl); margin-bottom: 8px; }
.primary-opt { align-items: center; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.az { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-muted); background: var(--paper-2); padding: 4px 14px; }
.li.ct { min-height: 50px; cursor: pointer; }
.li.ct input { width: 22px; height: 22px; accent-color: var(--accent-ink); margin: 0; flex: none; }
.groupbar { display: flex; flex-wrap: wrap; gap: 6px; }
.gb { font-size: var(--fs-xs); padding: 4px 10px; border-radius: 999px; }
.gb.t1 { background: #e4e9df; color: #3b4735; } .gb.t2 { background: #efe2cf; color: #6c4b1d; } .gb.t3 { background: #e5e2ee; color: #3e3a59; } .gb.t4 { background: #f0dfdc; color: #7a3a30; }
.prop.ok { background: var(--paper); box-shadow: none; }
.food .bar { background: var(--paper-2); }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tbl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; text-align: center; border: 1px solid var(--line); font: inherit; color: inherit; }
.tbl-c { width: 86px; height: 86px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tbl-c .display { font-size: 0.95rem; line-height: 1.1; }
.tbl-p { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 6px; font-size: 11px; color: var(--ink-muted); }

/* Onboarding */
.ob-start { display: flex; flex-direction: column; }
.ob-garland { width: 100%; margin-top: -10px; }
.wordmark { font-family: var(--font-display); font-size: 1.4rem; margin-top: 6px; }
.wordmark em { color: var(--accent); font-style: normal; }
.ob-h { font-size: 2.35rem; line-height: 1.08; margin-top: 18px; letter-spacing: -0.015em; }
.ob-h em { font-style: italic; color: var(--accent-ink); }
.ob-actions { margin-top: auto; padding-top: 24px; padding-bottom: 28px; }
.ob-q { font-size: var(--fs-2xl); line-height: 1.15; margin-top: 8px; }
.ob-foot { flex: none; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: flex; gap: 10px; }
.obbar { height: 4px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.obbar i { display: block; height: 100%; background: var(--accent-ink); border-radius: 2px; transition: width 0.4s var(--ease); }
.bigdate { font-size: 2rem; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-g span { height: 34px; display: grid; place-items: center; font-size: var(--fs-s); border-radius: 50%; }
.cal-g .sel { background: var(--accent-ink); color: var(--sheet); font-weight: 600; }
.place-hit.on { background: var(--accent-wash); }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.theme-card { flex: none; width: 230px; scroll-snap-align: center; border-radius: 18px; border: 1px solid var(--line); background: var(--tp); padding: 16px 14px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: var(--shadow-1); font: inherit; color: var(--ink); }
.theme-card img { width: 150px; height: 150px; object-fit: contain; }
.theme-card .tc-n { font-size: 1.5rem; margin-top: 4px; }
.theme-card .tc-n em { color: var(--ta); }
.theme-card .tc-d { font-size: var(--fs-s); color: var(--ink-muted); }
.theme-card .tc-l { margin-top: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; }
.theme-card[aria-pressed='true'] { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.theme-card.dark { color: var(--ivory); }
.theme-card.dark .tc-d { color: var(--ivory-muted); }
.ob-ki { display: flex; flex-direction: column; justify-content: center; }
.ki-orb { width: 72px; height: 72px; border-radius: 50%; background: var(--night); color: var(--night-accent); display: grid; place-items: center; margin: 0 auto 10px; animation: spin 3s linear infinite; }
@keyframes spin { 50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(212, 183, 143, 0.15); } }
.ki-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 300px; }
.ki-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color 0.3s; }
.ki-list li .icon { opacity: 0; color: var(--success); transition: opacity 0.3s; }
.ki-list li.on { color: var(--ink); }
.ki-list li.on .icon { opacity: 1; }

/* Einladung */
.mini-site { position: relative; display: block; width: 100%; height: 330px; overflow: hidden; padding: 0; border: 1px solid var(--line); cursor: pointer; background: var(--paper); }
.mini-in { width: 166.6%; transform: scale(0.6); transform-origin: top left; pointer-events: none; }
.mini-cta { position: absolute; right: 12px; top: 12px; background: var(--ink); color: var(--sheet); font-size: var(--fs-xs); font-weight: 600; padding: 8px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.mini-site::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to top, var(--paper), transparent); }
.mini-cta { z-index: 2; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-tile { border-radius: 14px; border: 1px solid var(--line); background: var(--tp); padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; font: inherit; color: var(--ink); }
.theme-tile img { width: 90px; height: 90px; object-fit: contain; }
.theme-tile .tn { font-size: 1.05rem; margin-top: 4px; }
.theme-tile .tm { font-size: var(--fs-xs); color: var(--ink-muted); }
.theme-tile.dark { color: var(--ivory); } .theme-tile.dark .tm { color: var(--ivory-muted); }
.theme-tile[aria-pressed='true'] { outline: 3px solid var(--accent-ink); outline-offset: 2px; }

/* Nachrichten */
.send-card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-1); }
.chan-split { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-s); color: var(--ink-muted); }
.chan-split b { color: var(--ink); }
.dstats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-xs); color: var(--ink-muted); margin-top: 4px; }
.dstats span { display: inline-flex; gap: 4px; align-items: center; }
.autos { list-style: none; margin: 0; padding: 0; position: relative; }
.autos::before { content: ''; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1.5px; background: var(--line-strong); }
.autos li { display: flex; gap: 12px; align-items: center; padding: 10px 0; position: relative; }
.autos .ad { width: 24px; height: 24px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--accent); flex: none; display: grid; place-items: center; color: var(--sheet); position: relative; z-index: 1; }
.autos .done .ad { background: var(--success); border-color: var(--success); }
.autos .done b { color: var(--ink-muted); font-weight: 600; }
.autos .ad .icon { width: 13px; height: 13px; }
.mailprev { overflow: hidden; }
.mp-h { padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.sent-done { display: flex; flex-direction: column; justify-content: center; }
.big-check { width: 84px; height: 84px; border-radius: 50%; background: var(--success); color: var(--sheet); display: grid; place-items: center; margin: 0 auto 8px; }
.big-check .icon { width: 36px; height: 36px; }

/* Fotos */
.qr-card { padding: 14px; background: var(--paper-2); }
.qr-paper { background: var(--sheet); border-radius: 10px; padding: 22px 18px 18px; text-align: center; box-shadow: var(--shadow-sheet-s, 0 10px 30px -18px rgba(43,42,40,.4)); position: relative; overflow: hidden; }
.qr-orn { position: absolute; top: -18px; right: -22px; width: 120px; opacity: 0.9; }
.qr-t { font-size: 1.5rem; margin: 6px 0 12px; }
.qr-code { display: inline-block; padding: 8px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.qr-code svg { display: block; }
.story-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 200px; }
.story-strip img { width: 100%; height: 100%; object-fit: cover; }
.story-strip img:first-child { grid-row: span 2; }
.story-strip img:nth-child(n+6) { display: none; }
.gift-back { background: var(--paper); }
.wall { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.wall-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; }
.wall-n { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); width: 64px; justify-content: flex-end; }
.wall-grid { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 8px; align-content: start; }
.wf { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.wf:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.wf img { width: 100%; height: 100%; object-fit: cover; }
.wf figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 600; color: var(--ivory); background: rgba(20, 33, 61, 0.6); padding: 2px 7px; border-radius: 6px; }
.wf.new { animation: pop 0.6s var(--ease); }
.wall-foot { display: flex; gap: 12px; align-items: center; padding: 10px 14px 18px; border-top: 1px solid rgba(243, 234, 214, 0.12); }
.qr-mini { background: var(--sheet); padding: 4px; border-radius: 6px; flex: none; }
.qr-mini svg { width: 56px; height: 56px; display: block; }

/* Dankeskarten */
.pbar { height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--accent-ink); }
.thanks { overflow: hidden; }
.thanks img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.th-in { padding: 16px 18px 18px; }
.th-a { font-size: 1.35rem; margin-top: 6px; }
.th-t { margin-top: 8px; line-height: 1.6; }
.th-s { font-style: italic; color: var(--accent-ink); font-size: 1.2rem; margin-top: 12px; text-align: right; }
.pdfprev { background: var(--paper); }

.card-tap.row { display: flex; }
.promises { list-style: none; margin: 22px auto 0; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.promises li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); color: var(--ink); }
.promises li .icon { color: var(--accent-ink); }
.mini-site:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
