:root{
  --bg:#000;
  --fg:#fff;
  --muted: rgba(255,255,255,.75);
  --line: rgba(255,255,255,.18);
  --card: rgba(255,255,255,.06);
}

html, body { height: 100%; }

body{
  background: var(--bg);
  color: var(--fg);
  font-family: "mrs-eaves", serif;
  letter-spacing: .2px;

  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  
  line-height: 1.65;
}


a:link {
	color: #fff;
	
}
a:visited {
	color: #bbb;
}


/* Default: H1 Al Fresco (wird beim Hero überschrieben) */
h1, .display-font{
  font-family: "al-fresco", serif;
  letter-spacing: .06em;
  font-size: 3.0em;
}



/* H2 standardmäßig Mrs Eaves, aber wenn .display-font dran ist -> Al Fresco */
h2, .h2, .h1{
  font-family: "mrs-eaves", serif !important;
  letter-spacing: .01em;
}


h2, .h2, .h1{
  font-family: "mrs-eaves-roman-small-caps", serif !important;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .08em;
}



h2.display-font, .h1.display-font{
  font-family: "al-fresco", serif !important;
  letter-spacing: .06em;
}

.eyebrow{
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .85rem;
  color: var(--muted);
}
.muted{ color: var(--muted); }

.section-pad{ padding: 4.5rem 0; }
@media (min-width: 992px){
  .section-pad{ padding: 6rem 0; }
}

.divider{
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* Hero */
.hero{
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero-plain{ background: var(--bg); }

/* HERO Names: Mrs Eaves + Ampersand Font */
.hero-names{
  font-family: "mrs-eaves", serif !important;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 0;
  
}
.hero-names .amp{
  font-family: adorn-pomander, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -.06em;
  font-size: 1.6em;
  vertical-align: baseline;
  margin-left: -0.08em;
}

.rings-hero{
  margin-top: 1.25rem;
}

/* Anrede Platzhalter */
.anrede-placeholder{
  font-family: "al-fresco", serif;
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  letter-spacing: .04em;
  line-height: 1.15;
  color: rgba(255,255,255,.95);
}


/* Fade */
.fade-in{
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .9s ease forwards;
}
.fade-in.delay-2{ animation-delay: .35s; }
.fade-in.delay-3{ animation-delay: .55s; }
@keyframes fadeUp{ to { opacity: 1; transform: translateY(0); } }

.hero-card{
  background: rgba(0,0,0,.35);
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: 1.75rem 1.25rem;
  backdrop-filter: blur(6px);
  max-width: 40rem;
  margin-inline: auto;
}
.hero-date{
  font-family: "mrs-eaves-roman-small-caps", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .08em;
}

.hero-location{
  font-family: "mrs-eaves-roman-small-caps", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  letter-spacing: .08em;
  margin-top: .5rem;
  color: rgba(255,255,255,.9);
}


.rings{ width: 35px; height: auto; opacity: .95; }

/* Content blocks */
.content-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: 1.25rem;
}

/* Feier: Cards dunkler für bessere Lesbarkeit */
#feier .content-card{
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.22);
}



@media (min-width: 992px){
  .content-card{ padding: 1.75rem; }
}
.list-clean li{ margin-bottom: .4rem; }

.ph{
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 1rem;
  padding: 1.25rem;
  color: rgba(255,255,255,.6);
  text-align: center;
  min-height: 140px;
  display: grid;
  place-items: center;
}

/* Standesamt Bild */
.media-frame{
  border: 1px solid var(--line);
  border-radius: .25rem;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.media-img{
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  opacity: .95;
}

/* Inputs */
.form-control, .form-select{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.25);
  color: var(--fg);
}
.form-control:focus, .form-select:focus{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.45);
  color: var(--fg);
  box-shadow: none;
}
.form-check-input{
  background-color: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.25);
}
.btn-outline-light{ border-color: rgba(255,255,255,.45); }

/* Timeline */
.tl-row{
  display:flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}
.tl-row.tl-last{ border-bottom: 0; }
.tl-time{ color: var(--muted); min-width: 5.2rem; }
.tl-text{ text-align:right; }

/* Dresscode swatches */
.swatch{ background:#111; border:1px solid var(--line); }
.swatch-2{ background:#1a1a1a; }
.swatch-3{ background:#0b1a2a; }
.swatch-4{ background:#1a0f13; }
.swatch-5{ background:#0f1a14; }


/* Dresscode Carousel */
.dresscode-carousel{
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}

.dresscode-img{
  width: 100%;
  height: auto;
  display: block;
}

/* Controls etwas dezenter */
.dresscode-carousel .carousel-control-prev,
.dresscode-carousel .carousel-control-next{
  width: 15%;
  opacity: .85;
}

.dresscode-carousel .carousel-control-prev:hover,
.dresscode-carousel .carousel-control-next:hover{
  opacity: 1;
}

.dresscode-carousel .carousel-indicators{
  margin-bottom: .5rem;
}
.dresscode-carousel .carousel-indicators [data-bs-target]{
  width: 7px;
  height: 7px;
  border-radius: 999px;
}




/* ---------------- Parallax (Lag-Effekt) ---------------- */
.parallax{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Layer (default: s/w) */
.parallax-layer{
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 140%;
  z-index: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: translate3d(0,0,0);
  will-change: transform;

  filter: grayscale(100%);
  opacity: .92;
}

/* Overlay */
.parallax-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.78));
}

/* Feier: helleres Overlay */
#feier .parallax-overlay{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
  );
}




/* Content */
.parallax > .container{
  position: relative;
  z-index: 2;
}

/* Feier: nicht s/w */
.parallax-color .parallax-layer{
  filter: none;
  opacity: 1;
}

/* Feier-Section nicht full-height */
.parallax-section{
  min-height: auto;
}

/* RSVP Statuszeile */
#rsvpMsg{
  min-height: 1.25rem;
}

#rsvpForm.is-disabled{
  opacity: .65;
  pointer-events: none;
}