:root {
  --ink: #5b5347;
  --gold: #d4a23a;
  --gold-deep: #bd8b27;
  --petal: #f4c95d;
  --sage: #7c8a66;
  --sage-deep: #5f6e4d;
  --teal: #5f8076;
  --blue: #9db9e3;
  --cream: #fffdf8;
  --cream-2: #f7f2e8;
  --white: #ffffff;
  --line: #ece4d5;
  --muted: #9a8f7f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Montserrat", system-ui, sans-serif;

  /* Geteilte Material-/Bewegungs-Tokens (edler, konsistenter Look) */
  --shadow-sm: 0 4px 14px rgba(91,83,71,.08);
  --shadow-md: 0 12px 30px rgba(91,83,71,.14);
  --shadow-lg: 0 22px 50px rgba(91,83,71,.20);
  --ease: cubic-bezier(.22,.61,.36,1);
  --radius: 12px;
  --focus-ring: 0 0 0 3px rgba(212,162,58,.28);
  --section-pad: clamp(4rem, 10vw, 7rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Globaler, dezent floraler Hintergrund-Hauch über die ganze Seite */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 4%, rgba(212,162,58,.05), transparent 60%),
    radial-gradient(55% 45% at 92% 22%, rgba(124,138,102,.05), transparent 60%),
    radial-gradient(60% 50% at 78% 92%, rgba(157,185,227,.05), transparent 60%);
}

/* Konsistente, sichtbare Focus-States für Tastatur-Navigation */
:where(a, button, input, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* ===== HERO / SAVE THE DATE ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, #ffffff 0%, var(--cream) 55%, var(--cream-2) 100%);
}

.bouquet {
  position: absolute;
  width: clamp(135px, 33vw, 300px);
  height: clamp(135px, 33vw, 300px);
  pointer-events: none;
  z-index: 1;
  --px: 0px; --py: 0px;        /* Maus-/Scroll-Parallaxe (von bloom.js gesetzt) */
  transform-origin: center;
  will-change: transform;
}
/* Parallaxe (outer translate) + Atmen (inner rotate/scale) zusammengesetzt */
.bouquet--tl {
  top: -8px; left: -8px;
  transform: translate(var(--px), var(--py));
}
.bouquet--br {
  bottom: -8px; right: -8px;
  transform: translate(var(--px), var(--py)) scale(-1, -1);
}
.bouquet > use { transform-box: view-box; transform-origin: 50% 50%; }
.bouquet--tl > use { animation: bloomSway 9s ease-in-out infinite; }
.bouquet--br > use { animation: bloomSway 11s ease-in-out infinite -3.5s; }

@keyframes bloomSway {
  0%, 100% { transform: rotate(-1.6deg) scale(1); }
  50%      { transform: rotate(1.6deg) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .bouquet--tl > use, .bouquet--br > use { animation: none; }
}

.std { position: relative; z-index: 2; max-width: 660px; }
.std__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: clamp(.62rem, 2.4vw, .8rem);
  color: var(--sage);
  margin-bottom: 1.4rem;
  padding-left: .34em;
  display: inline-flex; align-items: center; gap: .9em;
}
/* zarte florale Trennstriche links/rechts des Eyebrows */
.std__eyebrow::before,
.std__eyebrow::after {
  content: ""; width: clamp(18px, 6vw, 34px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage));
}
.std__eyebrow::after { background: linear-gradient(90deg, var(--sage), transparent); }
.std__names {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
  font-size: clamp(2.9rem, 12vw, 6rem);
  line-height: 1.02;
  letter-spacing: .015em;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.std__names .amp {
  font-family: var(--script);
  font-weight: 400;
  color: var(--teal);
  padding: 0 .1em;
  font-size: .92em;
}
.std__rings {
  width: clamp(64px, 16vw, 110px);
  height: auto;
  margin: 1rem auto .3rem;
}
.std__taglinewrap {
  display: flex; align-items: flex-start; justify-content: center;
  gap: .5rem; margin: .2rem auto 0; max-width: 38ch;
}
.std__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.6vw, 1.45rem);
  color: var(--sage-deep);
  max-width: 32ch;
  line-height: 1.4;
  transition: opacity .24s ease, transform .24s ease;
}
.std__tagline.is-fading { opacity: 0; transform: translateY(4px); }
.std__refresh {
  flex: 0 0 auto;
  width: 30px; height: 30px; margin-top: .15rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--gold-deep);
  font-size: 1rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, transform .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.std__refresh:hover { background: var(--gold); color: #fff; transform: rotate(180deg); }
.std__refresh:active { transform: rotate(360deg) scale(.92); }
.std__rule {
  position: relative;
  width: 120px; height: 1px; margin: 1.8rem auto 1.4rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* kleiner Rauten-Akzent in der Mitte des Trenners */
.std__rule::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}
.std__d {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  letter-spacing: .18em;
  color: var(--ink);
}
.std__place {
  display: inline-block;
  margin-top: .7rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease;
}
.std__place:hover,
.std__place:focus-visible {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: .25em;
}
.hero__scroll {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: var(--sage); font-size: 1.8rem; text-decoration: none; z-index: 2;
  animation: bob 2.4s ease-in-out infinite; opacity: .75;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  padding: .95rem 2.1rem;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn--ghost { color: var(--gold-deep); border: 1px solid var(--gold); background: transparent; }
.btn--ghost:hover {
  background: var(--gold); color: #fff; border-color: var(--gold);
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,162,58,.3);
}
.btn--ghost:active { transform: translateY(0); box-shadow: none; }

/* ===== SECTIONS ===== */
section { padding: var(--section-pad) 1.5rem; max-width: 980px; margin: 0 auto; }
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  text-align: center;
  color: var(--sage-deep);
  letter-spacing: .035em;
  line-height: 1.12;
}
/* edlerer Titel-Trenner: feine Linie mit Rauten-Akzent in Gold */
.section__title::after {
  content: ""; display: block; position: relative;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.1rem auto 0;
}
.section__sub {
  text-align: center; color: var(--muted);
  margin: 1.1rem auto 0; max-width: 56ch;
  font-size: 1.02rem; line-height: 1.65;
}

/* ===== COUNTDOWN ===== */
.countdown {
  max-width: none; border-block: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% 0%, #ffffff 0%, var(--cream) 70%, var(--cream-2) 100%);
}
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem; max-width: 660px; margin: 2.8rem auto 0;
}
.cd__item {
  position: relative;
  background: linear-gradient(160deg, #ffffff, var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem .5rem 1.4rem; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cd__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cd__num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.5rem); color: var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}
.cd__label {
  display: block; margin-top: .5rem; text-transform: uppercase;
  letter-spacing: .16em; font-size: .6rem; color: var(--muted);
}
.countdown__msg {
  text-align: center; margin-top: 1.8rem; font-family: var(--script);
  font-size: 2rem; color: var(--teal);
}

/* ===== TIMELINE ===== */
.timeline { list-style: none; max-width: 620px; margin: 3rem auto 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 84px; top: .4rem; bottom: .4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.tl__item { display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; padding: 1.1rem 0; position: relative; }
.tl__item::before {
  content: ""; position: absolute; left: 79px; top: 1.55rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(212,162,58,.4);
}
.tl__time {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--sage-deep); text-align: right; padding-top: .15rem;
}
.tl__body { padding-left: 1.5rem; }
.tl__body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: .02em; color: var(--ink); }
.tl__body p { color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.tl__body em { color: var(--gold-deep); font-style: italic; }

/* ===== MOMENTE: ACTIONS (Upload + Diashow) ===== */
.fotos { text-align: center; }
.fotos__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; align-items: center;
  margin-top: 2rem;
}
.btn-photo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: #fff; background: var(--gold);
  border: none; border-radius: 40px; padding: 1rem 2.2rem; cursor: pointer;
  box-shadow: 0 8px 22px rgba(212,162,58,.32);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-photo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212,162,58,.42); background: var(--gold-deep); }
.btn-photo:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(212,162,58,.32); }
.btn-photo:disabled { opacity: .6; cursor: default; transform: none; }
.btn-photo__icon { font-size: 1.2rem; }

.btn-slideshow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--teal); background: var(--white);
  border: 1px solid var(--teal); border-radius: 40px; padding: 1rem 2rem; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-slideshow:hover { transform: translateY(-2px); background: var(--teal); color: #fff; box-shadow: 0 12px 26px rgba(95,128,118,.28); }
.btn-slideshow:active { transform: translateY(0); box-shadow: none; }
.btn-slideshow__icon { font-size: .95rem; line-height: 1; }

.fotos__hint { margin-top: .9rem; font-size: .78rem; color: var(--muted); }
.fotos__status { margin-top: .7rem; min-height: 1.2em; font-size: .9rem; font-weight: 500; }
.fotos__status.is-busy  { color: var(--teal); }
.fotos__status.is-ok    { color: var(--sage-deep); }
.fotos__status.is-error { color: #c0623f; }

/* ===== COLLAGE / FOTO-HAUFEN (Masonry via CSS-columns) ===== */
.collage {
  --col: 200px;
  margin-top: 2.6rem;
  column-width: var(--col);
  column-gap: .8rem;
  transition: column-width .5s ease;
}
.collage.is-drop { outline: 2px dashed var(--gold); outline-offset: 6px; border-radius: 8px; }
.collage__item {
  position: relative;
  margin: 0 0 .8rem;
  break-inside: avoid;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 6px;                              /* zarter „Polaroid"-Rahmen */
  box-shadow: var(--shadow-sm), 0 8px 20px rgba(91,83,71,.14);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
  animation: collageIn .5s var(--ease) both;
}
.collage__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collage__item img {
  width: 100%; height: auto; display: block;
  border-radius: 5px; overflow: hidden;
  image-orientation: from-image; background: var(--cream-2);
  -webkit-user-drag: none; user-select: none;
  transition: transform .45s var(--ease);
}
.collage__item:hover img { transform: scale(1.05); }      /* Hover-Zoom aufs Foto, dezent */
.collage__item--new {
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-md), 0 0 22px rgba(212,162,58,.45);
}

/* Like-Herz mit Anzahl (Facebook-Stil) im Bild */
.collage__like {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .32rem;
  padding: .34rem .62rem;
  border: none; border-radius: 999px; cursor: pointer;
  background: rgba(0,0,0,.5); color: #fff;
  font-family: var(--sans); font-weight: 500; font-size: .82rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(4px) saturate(1.2); backdrop-filter: blur(4px) saturate(1.2);
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.collage__like:hover { background: rgba(0,0,0,.66); transform: translateY(-1px); }
.collage__heart { color: #fff; font-size: 1rem; transition: color .2s ease, transform .2s ease; }
.collage__like.is-liked { background: rgba(214,69,93,.92); }
.collage__like.is-liked .collage__heart { color: #fff; }
.collage__likes { font-weight: 500; min-width: .6em; text-align: center; }
.collage__like.is-pop { transform: scale(1.18); }
@keyframes collageIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .collage { transition: none; }
  .collage__item { animation: none; }
}

/* ===== VOLLBILD-DIASHOW ===== */
.slideshow {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(28,24,18,.94);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.slideshow.is-open { display: flex; }
.slideshow__stage {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.slideshow__img {
  position: absolute;
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0;
  filter: blur(12px) saturate(.85);
  transition: opacity 1.15s ease, filter 1.15s ease;
}
/* sanfter Unschärfe-Fokus-Crossfade + langsamer Ken-Burns-Zoom */
.slideshow__img.is-in {
  opacity: 1;
  filter: blur(0) saturate(1);
  animation: kenburns 7.5s ease-out forwards;
}
.slideshow__img.is-out {
  opacity: 0;
  filter: blur(12px) saturate(.85);
  transition: opacity 1.15s ease, filter 1.15s ease;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow__img { filter: none; transition: opacity .5s ease; }
  .slideshow__img.is-in { animation: none; transform: none; filter: none; }
  .slideshow__img.is-out { filter: none; }
}

.slideshow__btn {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  cursor: pointer; line-height: 1;
  transition: background .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.slideshow__btn:hover { background: rgba(212,162,58,.85); transform: scale(1.06); }
.slideshow__close {
  top: 1.1rem; right: 1.1rem; width: 48px; height: 48px; font-size: 1.8rem;
}
.slideshow__prev, .slideshow__next {
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; font-size: 1.5rem;
}
.slideshow__prev { left: 1.1rem; }
.slideshow__next { right: 1.1rem; }
.slideshow__prev:hover, .slideshow__next:hover { transform: translateY(-50%) scale(1.06); }
.slideshow__count {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.85);
  font-family: var(--sans); font-size: .8rem; letter-spacing: .12em;
  background: rgba(0,0,0,.3); padding: .35rem .9rem; border-radius: 20px;
}
@media (max-width: 520px) {
  .slideshow__prev, .slideshow__next { width: 46px; height: 46px; font-size: 1.3rem; }
  .slideshow__prev { left: .5rem; }
  .slideshow__next { right: .5rem; }
  .slideshow__close { top: .6rem; right: .6rem; }
}

/* ===== ANFAHRT ===== */
.anfahrt { text-align: center; }
.anfahrt__addr {
  font-family: var(--serif); font-size: 1.5rem; color: var(--sage-deep);
  margin-top: .4rem; letter-spacing: .04em;
}
.map {
  margin: 2.2rem auto 1.8rem; max-width: 760px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); padding: 6px; background: #fff;
  box-shadow: var(--shadow-md);
}
.map iframe { border-radius: 8px; }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.anfahrt__links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  text-align: center; padding: 3.4rem 1.5rem 3.8rem;
  background:
    radial-gradient(120% 140% at 50% 0%, var(--cream) 0%, var(--white) 70%);
  border-top: 1px solid var(--line); color: var(--ink);
}
.footer__sprig { width: 128px; height: auto; margin: 0 auto 1rem; opacity: .85; }
.footer__names { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--sage-deep); }
.footer__date { font-family: var(--serif); color: var(--muted); font-size: 1.1rem; margin-top: .2rem; }
.footer__small {
  margin-top: 1.1rem; text-transform: uppercase; letter-spacing: .2em;
  font-size: .68rem; color: var(--muted);
}


/* ===== HOCHZEITS-WELT (3D-MULTIPLAYER) ===== */
.welt { text-align: center; }
.welt-stage {
  position: relative;
  margin: 2.4rem auto 0;
  width: 100%;
  height: 70vh;
  min-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #eaf3f6 0%, var(--cream-2) 100%);
  box-shadow: 0 16px 40px rgba(91,83,71,.18);
}
#weltCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#weltCanvas:active { cursor: grabbing; }

/* Join-Overlay */
.welt-join {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  background: radial-gradient(120% 100% at 50% 0%, rgba(255,253,248,.6), rgba(247,242,232,.85));
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.welt-join__card {
  width: 100%; max-width: 380px;
  background: linear-gradient(165deg, #ffffff, var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.welt-join__title {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem; color: var(--sage-deep);
  text-align: center; margin-bottom: 1.1rem;
}
.welt-field { display: block; margin-bottom: 1.1rem; }
.welt-field__label {
  display: block;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .62rem; color: var(--muted);
  margin-bottom: .5rem;
}
.welt-input {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  padding: .7rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.welt-input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,162,58,.18);
}

/* m/w- und Altersstufen-Buttons */
.welt-choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.welt-opt {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--sans); font-size: .8rem; font-weight: 400;
  color: var(--sage-deep);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  padding: .6rem .5rem; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.welt-opt:hover { border-color: var(--gold); }
.welt-opt:active { transform: translateY(1px); }
.welt-opt.is-active {
  background: var(--gold); color: #fff; border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(212,162,58,.32);
}

.welt-enter {
  width: 100%; margin-top: .4rem;
  cursor: pointer; text-align: center;
  color: #fff; background: var(--gold); border: 1px solid var(--gold);
}
.welt-enter:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.welt-enter:disabled { opacity: .6; cursor: default; }

.welt-join__msg { min-height: 1.2em; margin-top: .8rem; font-size: .85rem; font-weight: 500; text-align: center; }
.welt-join__msg.is-busy  { color: var(--teal); }
.welt-join__msg.is-error { color: #c0623f; }
.welt-join__hint {
  margin-top: .8rem; text-align: center;
  font-size: .72rem; color: var(--muted);
}

/* Online-Badge */
.welt-count {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line); border-radius: 20px;
  padding: .35rem .8rem;
  box-shadow: 0 4px 10px rgba(91,83,71,.15);
  pointer-events: none;
}

@media (max-width: 520px) {
  .welt-stage { height: 64vh; min-height: 440px; }
  .welt-choice { gap: .4rem; }
  .welt-opt { flex-basis: calc(50% - .2rem); }
}

/* ===== SCROLL-REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 520px) {
  .collage { --col: 110px !important; column-gap: .5rem; }
  .collage__item { margin-bottom: .5rem; }
  .fotos__actions { flex-direction: column; }
  .btn-photo, .btn-slideshow { width: 100%; max-width: 280px; justify-content: center; }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 64px; }
  .tl__item { grid-template-columns: 56px 1fr; gap: 1rem; }
  .tl__item::before { left: 60px; }
  .tl__time { font-size: 1.2rem; }
}
