:root {
  --pine: #12322b;
  --pine-2: #1c4a3e;
  --pine-3: #2a6455;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --gold: #d3ad62;
  --gold-2: #b98f3e;
  --berry: #a2303b;
  --berry-2: #861f2a;
  --ink: #1d2420;
  --muted: #66706a;
  --line: #e7dfd0;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 50, 43, .06), 0 10px 30px -12px rgba(18, 50, 43, .22);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
a { color: inherit; }
input, select, button { font: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; border: 0; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--pine); box-shadow: 0 8px 24px -10px rgba(211, 173, 98, .8); }
.btn-gold:hover { background: #dfbb73; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-berry { background: var(--berry); color: #fff; }
.btn-berry:hover:not(:disabled) { background: var(--berry-2); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3.5rem; height: 68px; padding: 0 clamp(16px, 4vw, 40px); color: #fff; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(18, 50, 43, .92); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.nav-side { display: flex; align-items: center; gap: 1.8rem; }
.nav-side.left { justify-content: flex-end; }
.nav-side.right { justify-content: flex-start; }
.nav-side.right .btn { margin-left: auto; }
.nav-side a:not(.btn) { text-decoration: none; opacity: .85; font-weight: 500; font-size: .95rem; }
.nav-side a:not(.btn):hover { opacity: 1; }
.brand { display: block; align-self: start; margin-top: 10px; transition: transform .3s; }
.brand img { width: 100px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transition: width .3s; }
.brand:hover { transform: scale(1.05) rotate(-2deg); }
.nav.scrolled .brand img { width: 60px; }
@media (max-width: 720px) {
  .nav { height: 60px; gap: 1rem; }
  .nav-side a:not(.btn) { display: none; }
  .brand img { width: 70px; }
  .nav.scrolled .brand img { width: 46px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; padding: 180px 16px 80px;
  background: linear-gradient(180deg, rgba(10, 30, 25, .55) 0%, rgba(12, 36, 30, .78) 55%, rgba(18, 50, 43, 1) 100%), url("assets/familie-2025.jpeg") center 35% / cover no-repeat; }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; }
.hero-crest { width: 150px; height: auto; margin: 0 auto 1.2rem; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0 0 .8rem; }
.eyebrow.dark { color: var(--berry); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 700; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-meta { margin: 1.4rem 0 0; font-size: 1.05rem; opacity: .92; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .6rem; }
.hero-meta .dot { opacity: .5; }
.countdown { display: flex; justify-content: center; gap: .8rem; margin: 2rem 0; }
.countdown div { min-width: 84px; padding: .8rem .6rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.countdown b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: #fff; text-decoration: none; opacity: .6; font-size: 1.4rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Stats */
.stats { background: var(--pine); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(16px, 4vw, 40px) 3rem; gap: 1rem; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 6vw, 3rem); color: var(--gold); line-height: 1.1; }
.stat span { font-size: .9rem; opacity: .8; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) clamp(16px, 4vw, 40px); max-width: 1160px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--cream); }
.section.alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.lead { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 0; }
.hint { color: var(--muted); font-size: .88rem; margin: .4rem 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.pill { background: var(--pine); color: #fff; border-radius: 999px; padding: .1rem .7rem; font-weight: 600; font-size: .9rem; }

/* Fields */
.field { display: block; margin-top: 1rem; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field small { font-weight: 400; color: var(--muted); }
input, select { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus { border-color: var(--pine-3); box-shadow: 0 0 0 4px rgba(42, 100, 85, .14); }

/* Tickets */
.tickets-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .tickets-grid { grid-template-columns: 1fr; } }
.ticket-type { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ticket-type:first-child { padding-top: 0; }
.tt-info { flex: 1; }
.tt-info b { display: block; font-size: 1.05rem; }
.tt-info span { color: var(--muted); font-size: .88rem; }
.tt-price { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; min-width: 64px; text-align: right; }
.stepper { display: flex; align-items: center; gap: .2rem; background: var(--cream); border-radius: 999px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; font-size: 1.2rem; font-weight: 600; cursor: pointer; color: var(--pine); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.names { margin-top: 1.4rem; }
.name-row { display: grid; grid-template-columns: 110px 1fr; gap: .6rem; align-items: center; margin-top: .6rem; }
.name-row span { font-size: .82rem; color: var(--muted); }
@media (max-width: 480px) { .name-row { grid-template-columns: 1fr; gap: .2rem; } }
.summary { margin: 1.4rem 0 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--cream); }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.summary-row b { font-family: var(--serif); font-size: 1.6rem; }
.paylogos { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .9rem; }
.paylogos span { font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .5rem; }
.guestlist-head { display: flex; justify-content: space-between; align-items: center; }
.guests { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-direction: column; gap: .5rem; max-height: 440px; overflow: auto; }
.guests li { display: flex; align-items: center; gap: .75rem; padding: .55rem .7rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.guests li.new { animation: pop .6s ease; border-color: var(--gold); }
@keyframes pop { 0% { transform: scale(.96); background: #fff6e0; } 100% { transform: none; } }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85rem; color: #fff; }
.guests .g-names { flex: 1; font-size: .95rem; line-height: 1.3; }
.guests .g-names small { display: block; color: var(--muted); }
.paid { font-size: .72rem; font-weight: 600; color: var(--pine-3); background: #e3f0ea; border-radius: 999px; padding: .1rem .55rem; }

/* Potluck */
.needs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-bottom: 1.6rem; }
@media (max-width: 860px) { .needs { grid-template-columns: repeat(2, 1fr); } }
.need { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; }
.need .need-top { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; }
.need .bar { height: 6px; border-radius: 6px; background: var(--cream); margin: .6rem 0 .35rem; overflow: hidden; }
.need .bar i { display: block; height: 100%; background: var(--pine-3); border-radius: 6px; transition: width .4s; }
.need.low .bar i { background: var(--berry); }
.need small { color: var(--muted); font-size: .78rem; }
.need.low small { color: var(--berry); font-weight: 600; }
.potluck-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .potluck-grid { grid-template-columns: 1fr; } }
.potluck-form { position: sticky; top: 84px; }
@media (max-width: 860px) { .potluck-form { position: static; } }
.warn { margin: .6rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #fff3dc; color: #7a5a14; font-size: .88rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 500; cursor: pointer; }
.filters button[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.dish { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; display: flex; gap: .8rem; }
.dish.new { animation: pop .6s ease; border-color: var(--gold); }
.dish-emoji { font-size: 1.6rem; line-height: 1; }
.dish b { display: block; line-height: 1.3; }
.dish .who { font-size: .85rem; color: var(--muted); }
.dish .note { font-size: .8rem; color: var(--pine-3); margin-top: .3rem; }

/* Gallery */
.year-tabs { display: flex; gap: .5rem; justify-content: center; margin: 0 0 1.2rem; flex-wrap: wrap; }
.year-tabs button { border: 0; background: transparent; font-family: var(--serif); font-size: 1.15rem; padding: .3rem .9rem; border-radius: 999px; cursor: pointer; color: var(--muted); }
.year-tabs button[aria-selected="true"] { background: var(--pine); color: #fff; }
.year-tabs small { font-family: var(--sans); font-size: .75rem; opacity: .7; }

.slider { max-width: 980px; margin: 0 auto; }
.slider-stage { position: relative; aspect-ratio: 4 / 3; max-height: 72vh; width: 100%; border-radius: 22px; overflow: hidden; background: #0d211c; box-shadow: 0 30px 60px -30px rgba(18, 50, 43, .55); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 6s ease; cursor: zoom-in; }
.slide.on { opacity: 1; transform: scale(1); }
.slider-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,.45), transparent 55%); pointer-events: none; z-index: 1; }
.slider-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); padding: 24px; text-align: center; font-family: var(--serif); font-size: 1.2rem; }
.slider.empty .sl-btn, .slider.empty .sl-bar, .slider.empty .sl-progress { display: none; }
.sl-btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.sl-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.sl-btn.prev { left: 14px; } .sl-btn.next { right: 14px; }
.sl-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 16px; color: #fff; }
.sl-count { font-family: var(--serif); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sl-actions { display: flex; gap: .4rem; }
.sl-actions button, .sl-actions a { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; text-decoration: none; cursor: pointer; font-size: .95rem; backdrop-filter: blur(8px); }
.sl-actions :hover { background: rgba(255,255,255,.3); }
.sl-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: rgba(255,255,255,.12); }
.sl-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
@media (max-width: 600px) { .slider-stage { aspect-ratio: 3 / 4; border-radius: 18px; } .sl-btn { width: 40px; height: 40px; font-size: 1.6rem; } }

.thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .9rem 2px .4rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s, transform .2s; scroll-snap-align: center; background: var(--cream); }
.thumbs button:hover { opacity: .9; }
.thumbs button.active { opacity: 1; outline-color: var(--gold); transform: translateY(-2px); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Upload */
.upload { max-width: 980px; margin: 2.4rem auto 0; }
.upload-drop { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: linear-gradient(135deg, #f7f1e6 0%, #efe6d4 100%); border: 2px dashed transparent; transition: border-color .2s, background .2s, transform .2s; }
.upload-drop.drag { border-color: var(--pine-3); background: #e9f2ec; transform: scale(1.01); }
@media (max-width: 700px) { .upload-drop { grid-template-columns: 1fr; text-align: center; gap: 1rem; } }
.up-art { position: relative; height: 180px; }
.polaroid { position: absolute; top: 50%; left: 50%; width: 120px; padding: 7px 7px 22px; background: #fff; border-radius: 4px; box-shadow: 0 12px 26px -10px rgba(0,0,0,.35); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.p1 { transform: translate(-95%, -50%) rotate(-12deg); }
.p2 { transform: translate(-50%, -58%) rotate(3deg); z-index: 1; }
.p3 { transform: translate(-5%, -48%) rotate(13deg); }
.upload-drop:hover .p1, .upload-drop.drag .p1 { transform: translate(-110%, -52%) rotate(-18deg); }
.upload-drop:hover .p3, .upload-drop.drag .p3 { transform: translate(10%, -50%) rotate(19deg); }
.upload-drop:hover .p2, .upload-drop.drag .p2 { transform: translate(-50%, -66%) rotate(0deg); }
.up-text h3 { font-size: 1.6rem; }
.up-text p { color: var(--muted); margin: .3rem 0 1.1rem; }
.up-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 700px) { .up-buttons { justify-content: center; } }
.btn-outline { border: 1.5px solid var(--pine); color: var(--pine); background: transparent; }
.cam-only { display: none; }
@media (pointer: coarse) { .cam-only { display: inline-flex; } }
.up-hint { display: block; margin-top: .8rem; color: var(--muted); }
@media (pointer: coarse) { .up-hint { display: none; } }

.tray { margin-top: 1rem; padding: 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tray-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.link-btn { border: 0; background: none; color: var(--berry); font-weight: 600; cursor: pointer; padding: 0; }
.tray-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; max-height: 280px; overflow: auto; }
.tray-grid figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream); animation: pop .4s ease; }
.tray-grid img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.tray-grid .rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; line-height: 1; }
.tray-grid .ring { position: absolute; inset: 50% auto auto 50%; width: 38px; height: 38px; translate: -50% -50%; opacity: 0; transform: rotate(-90deg); }
.tray-grid .ring circle { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 95; stroke-dashoffset: 95; }
.tray-grid figure.loading img, .tray-grid figure.ok img { filter: brightness(.55); }
.tray-grid figure.loading .ring { opacity: 1; }
.tray-grid figure.loading .ring circle { transition: stroke-dashoffset .45s ease; stroke-dashoffset: 20; }
.tray-grid figure.ok::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; font-weight: 700; }
.tray-grid figure.loading .rm, .tray-grid figure.ok .rm { display: none; }
.tray-foot { display: flex; gap: .6rem; margin-top: 1rem; }
.tray-foot input { flex: 1; }
@media (max-width: 520px) { .tray-foot { flex-direction: column; } }
.up-done { margin-top: 1rem; text-align: center; padding: 1.6rem; border-radius: 20px; background: #eef5f0; display: flex; flex-direction: column; align-items: center; gap: .5rem; animation: pop .5s ease; }
.up-done .check { width: 52px; height: 52px; border-radius: 50%; background: var(--pine-3); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 17, .92); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 10px; }
.lb-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Infos */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card p { margin: .3rem 0 .8rem; }
.link { color: var(--berry); font-weight: 600; text-decoration: none; }
.timeline, .prices { list-style: none; padding: 0; margin: .3rem 0 0; }
.timeline li { padding: .35rem 0 .35rem 1rem; border-left: 2px solid var(--gold); }
.timeline b { display: inline-block; min-width: 72px; font-variant-numeric: tabular-nums; }
.prices li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.faq { margin-top: 2rem; display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--muted); }

.footer { background: var(--pine); color: rgba(255,255,255,.8); text-align: center; padding: 3rem 16px; font-size: .9rem; }
.footer img { margin: 0 auto 1rem; }

/* Payment dialog (Demo) */
.paydialog { border: 0; padding: 0; border-radius: 20px; width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.paydialog::backdrop { background: rgba(10, 25, 21, .6); backdrop-filter: blur(3px); }
.pay-inner { padding: 26px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pay-head small { color: var(--muted); }
.demo-badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff3dc; color: #7a5a14; padding: .15rem .5rem; border-radius: 6px; }
.pay-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .6rem 0; margin-bottom: 1rem; font-size: .92rem; }
.pay-lines div { display: flex; justify-content: space-between; padding: .2rem 0; }
.pay-lines .tot { font-weight: 700; font-size: 1.05rem; padding-top: .5rem; }
.pay-btn { display: block; width: 100%; padding: .85rem; border-radius: 10px; border: 0; margin-top: .55rem; font-weight: 600; cursor: pointer; }
.pay-apple { background: #000; color: #fff; }
.pay-paypal { background: #ffc439; color: #003087; }
.pay-card { background: #fff; border: 1.5px solid var(--line); }
.pay-cancel { background: none; border: 0; color: var(--muted); margin-top: .8rem; width: 100%; cursor: pointer; }
.pay-success { text-align: center; padding: 1rem 0; }
.pay-success .check { width: 64px; height: 64px; border-radius: 50%; background: #e3f0ea; color: var(--pine-3); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--pine-3); border-radius: 50%; margin: 1.5rem auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Extra-Schwung ===== */
.greet { display: block; margin: 0 0 .6rem; font: italic 400 clamp(1.9rem, 5vw, 2.6rem)/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: #fff; transition: opacity .5s, transform .5s; }
.greet.out { opacity: 0; transform: translateY(-6px); }
.h1-line { display: block; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.h1-line + .h1-line { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
.hero h1 em { background: linear-gradient(90deg, #d3ad62, #f6dc93, #d3ad62); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both, shimmer 6s 1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.who-comes { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.8rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); text-decoration: none; font-size: .92rem; backdrop-filter: blur(6px); }
.who-comes b { color: var(--gold); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: #fff; border: 2px solid var(--pine); margin-left: -8px; }
.avatars span:first-child { margin-left: 0; }

.marquee { background: var(--pine); color: rgba(255,255,255,.75); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); padding: .9rem 0; }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 50s linear infinite; font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold); margin-left: 2.4rem; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }


.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.card { transition: transform .25s, box-shadow .25s; }
.dish, .need { transition: transform .2s, box-shadow .2s; }
.dish:hover, .need:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track { animation: none; } }

/* ===== Live-Version ===== */
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .nav-side.left { justify-content: flex-start; }
}
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(13, 36, 30, .97); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; padding: 100px 24px 40px; animation: fadeIn .25s ease; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.mobile-menu nav a { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 2rem; }
.mobile-menu nav a:active { color: var(--gold); }
@keyframes fadeIn { from { opacity: 0; } }
body.menu-open { overflow: hidden; }

.form-error { margin: .8rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: #fde8ea; color: var(--berry-2); font-size: .9rem; }
.hint.center { text-align: center; }
.guests .empty, .dishes .empty { justify-content: center; color: var(--muted); background: transparent; border-style: dashed; }
.dishes .empty { grid-column: 1 / -1; padding: 1.4rem; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }
.dish { position: relative; }
.dish .rm { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--cream); color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.dish .rm:hover { background: #fde8ea; color: var(--berry); }
.dish.mine { border-color: #cfe3d8; }
.footer-links { margin-top: .6rem; }
.footer-links a { color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 120; max-width: calc(100% - 32px); padding: .8rem 1.2rem; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: .95rem; animation: toastIn .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.tray-grid figure.err img { filter: grayscale(1) brightness(.6); }
.tray-grid figure.err::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; font-weight: 700; background: rgba(162, 48, 59, .45); }
.slide-by { position: absolute; top: 14px; left: 16px; z-index: 2; color: #fff; font-size: .85rem; opacity: .85; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
@media (max-width: 720px) {
  .section { padding-left: 16px; padding-right: 16px; }
  .countdown div { min-width: 0; flex: 1; max-width: 96px; }
  .hero-cta .btn { width: 100%; max-width: 340px; }
  .stats { padding-bottom: 2rem; }
  .stat span { font-size: .8rem; }
  .ticket-type { flex-wrap: wrap; gap: .6rem 1rem; }
  .tt-info { min-width: 0; }
  .card { padding: 18px; }
  .info-card { padding: 20px; }
  .lightbox img { max-height: 80vh; }
}

/* Buffet: nur zählen, keine Vorgabe */
.need { display: flex; flex-direction: column; gap: .2rem; }
.need-label { font-size: .9rem; font-weight: 600; }
.need-count { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--pine); font-variant-numeric: tabular-nums; }

/* ===== Umfrage & gesperrte Buchung ===== */
body:not(.booking-open) .only-open, body.booking-open .only-closed { display: none !important; }
.rsvp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .rsvp-grid { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.2rem; }
@media (max-width: 420px) { .choice { grid-template-columns: 1fr; } }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; text-align: center; padding: .85rem .8rem; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.choice input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(42, 100, 85, .25); }
.rsvp-cancel { display: block; margin: .8rem auto 0; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .8rem 0 1rem; }
.totals div { background: var(--cream); border-radius: 12px; padding: .7rem .6rem; text-align: center; }
.totals b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; color: var(--pine); font-variant-numeric: tabular-nums; }
.totals span { font-size: .78rem; color: var(--muted); }
.guests li.no { opacity: .65; }
.guests li.no .paid { background: #f3e6e7; color: var(--berry); }
.guests li .g-actions { display: flex; gap: .3rem; }
.guests li .g-actions button { border: 0; background: var(--cream); border-radius: 8px; padding: .25rem .5rem; font-size: .78rem; cursor: pointer; color: var(--pine); }
.guests li .g-actions button:hover { background: #e9f2ec; }
.guests li .g-note { display: block; color: var(--pine-3); font-size: .8rem; }
.rsvp-form.editing { outline: 2px solid var(--gold); outline-offset: 2px; }

.closed-banner { display: flex; flex-direction: column; gap: .2rem; margin: -4px 0 1.2rem; padding: .85rem 1rem; border-radius: 14px; background: #fff3dc; color: #6b4f12; font-size: .92rem; }
.closed-banner b { font-size: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled { opacity: .5; filter: grayscale(.4); pointer-events: none; user-select: none; }
.field-label { font-weight: 600; font-size: .9rem; margin: 1.1rem 0 .2rem; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.answers div { display: flex; align-items: baseline; gap: .5rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; }
.answers b { font-family: var(--serif); font-size: 1.4rem; color: var(--pine); font-variant-numeric: tabular-nums; }
.answers span { color: var(--muted); font-size: .88rem; }
.mine { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.mine h4 { margin: 0 0 .5rem; font-size: .95rem; }
