/* =========================================================
   LuLuLove · 15.08.2026
   Color-blocked editorial · clean · bold · saturated
   ========================================================= */

:root {
  /* ---- Palette ---- */
  --cream:   #f4ede0;
  --cream-2: #ebe2cf;
  --ink:     #1a1410;
  --tomato:  #ee4824;
  --lime:    #d8e84a;

  /* ---- Fonts (Typekit) ---- */
  --display: "ivypresto-headline", "Times New Roman", Georgia, serif;
  --sans:    "tt-commons-pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(22px, 4.5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--tomato); color: var(--cream); }

/* ---------------- shared type ---------------- */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.display em {
  font-style: italic;
  color: var(--tomato);
  font-weight: 400;
}
.display--cream      { color: var(--cream); }
.display--cream em   { color: var(--lime); }
.display--ink        { color: var(--ink); }
.display--ink em     { color: var(--tomato); }
.display--nowrap     { white-space: nowrap; }
@media (max-width: 520px) {
  .display--nowrap   { white-space: normal; }
}

.prose {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 56ch;
  margin: 0;
}
.prose strong { font-weight: 600; }
.prose em {
  font-family: var(--display);
  font-style: italic;
  color: var(--tomato);
  font-weight: 400;
  font-size: 1.08em;
}
.prose--cream { color: rgba(244,237,224,.88); }
.prose--cream strong { color: var(--lime); }
.prose--cream em { color: var(--lime); }
.prose--ink em { color: var(--tomato); }

/* ---------------- topbar ---------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  pointer-events: none;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(24,22,21,.25);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.topbar > * { pointer-events: auto; }
.topbar--solid {
  color: var(--ink);
  background: rgba(244,237,224,.9);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(24,22,21,.1);
  text-shadow: none;
}
.topbar__mark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -.01em;
  text-decoration: none;
  line-height: 1;
}
.topbar__mark em {
  font-style: italic;
  color: var(--tomato);
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.topbar__nav a {
  text-decoration: none;
  position: relative;
}
.topbar__nav a:not(.topbar__cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.topbar__nav a:not(.topbar__cta):hover::after { transform: scaleX(1); }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--tomato);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  text-transform: none;
  mix-blend-mode: normal;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.topbar__cta:hover { background: var(--ink); transform: translateY(-1px); }
.topbar__cta-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 999px;
  animation: pulse 1.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: .65; }
}
@media (max-width: 640px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ---------------- 1. HERO (gradient background) ---------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  color: var(--cream);
  background: #d4837a;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: 1;
  will-change: transform;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* soft top + bottom vignette for text readability */
.hero__shade {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(24,22,21,.32) 0%,
      rgba(24,22,21,0)  22%,
      rgba(24,22,21,0)  62%,
      rgba(24,22,21,.42) 100%);
}
.hero__overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: clamp(90px, 12vh, 120px) var(--gutter) clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
}

.hero__title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(5rem, 18vw, 16rem);
  line-height: .85;
  letter-spacing: -0.04em;
  margin: 0;
  align-self: center;
  justify-self: start;
  text-shadow: 0 6px 30px rgba(24,22,21,.18);
}
.hero__title em {
  font-style: italic;
  color: var(--lime);
}

.hero__lockup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 60ch;
}
.hero__sub {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: 0;
  line-height: 1.15;
}
.hero__meta {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0;
  line-height: 1.15;
  opacity: .92;
}

.hero__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-self: end;
}
@media (max-width: 560px) {
  .hero__bottom { justify-content: flex-start; }
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero__cta:hover { background: var(--cream); transform: translateY(-2px); }
.hero__cta svg { transition: transform .3s var(--ease); }
.hero__cta:hover svg { transform: translateX(3px); }

/* ---------------- 2. DATESTAMP (tomato plakat) ---------------- */
.datestamp {
  background: var(--tomato);
  color: var(--cream);
  padding: clamp(60px, 11vw, 130px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.datestamp__top,
.datestamp__bottom {
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.datestamp__top {
  margin-bottom: clamp(20px, 3vw, 36px);
  display: block;
}
.datestamp__bottom {
  margin-top: clamp(20px, 3vw, 36px);
  display: inline-flex;
}
.datestamp__bottom span { opacity: .9; }
.datestamp__big {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.5rem, 16vw, 14rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: clamp(8px, 1.6vw, 28px);
  justify-content: center;
  width: 100%;
}
.datestamp__sep { color: var(--lime); font-style: normal; }

/* ---------------- 3. INVITE (cream) ---------------- */
.invite {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 11vw, 120px) var(--gutter);
}
.invite__body .display { max-width: 14ch; }
.invite__body .prose { margin: 1.4rem 0 0; }
.signature {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 2rem 0 0;
  color: var(--tomato);
}

/* ---------------- 4. PORTRAIT (lime) ---------------- */
.portrait {
  background: var(--lime);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
}
.portrait__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.portrait__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .portrait__grid { grid-template-columns: 1fr; }
}

.portrait__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
}
.portrait__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stamp {
  position: absolute;
  bottom: -48px;
  right: -48px;
  width: clamp(150px, 22vw, 200px);
  aspect-ratio: 1;
  color: var(--ink);
  z-index: 3;
  animation: stampSpin 24s linear infinite;
  pointer-events: none;
}
.stamp svg { width: 100%; height: 100%; }
@keyframes stampSpin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .stamp { right: -24px; bottom: -32px; }
}

.portrait__text .display { max-width: 14ch; }
.portrait__text .prose { margin: 1.4rem 0 0; max-width: 50ch; }

/* ---------------- 5. WANN & WO (cream) ---------------- */
.wannwo {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) var(--gutter);
}
.wannwo__inner {
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}
.wannwo__inner .display { max-width: 18ch; margin: 0; }
.wannwo__inner .prose { margin: 0; }

.wannwo__addr {
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  opacity: .7;
  margin: .4rem 0 0;
}

.wannwo__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.wannwo__link:hover { background: var(--ink); color: var(--cream); }

/* ---------------- 6. DER TAG (lime) ---------------- */
.day {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.day__head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vw, 64px); }
.day__head .display { margin-top: 1rem; max-width: 14ch; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--maxw);
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-top: 1px solid rgba(26,20,16,.18);
  align-items: baseline;
  transition: transform .4s var(--ease);
}
.timeline li:hover { transform: translateX(8px); }
.timeline li:last-child { border-bottom: 1px solid rgba(26,20,16,.18); }
.timeline__time {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--tomato);
  letter-spacing: -0.01em;
}
.timeline__body h3 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.timeline__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 50ch;
  color: rgba(26,20,16,.72);
}
@media (max-width: 540px) {
  .timeline li { grid-template-columns: 80px 1fr; gap: 16px; }
  .timeline__time { font-size: 1.15rem; }
}

/* ---------------- 7. TRAVEL (cream) ---------------- */
.travel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) var(--gutter);
}
.travel__head { margin-bottom: clamp(40px, 6vw, 64px); }
.travel__head .display { margin-top: 1rem; max-width: 16ch; }

.travel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 720px) {
  .travel__grid { grid-template-columns: 1fr; }
}

.tile {
  background: var(--cream-2);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 4px;
  position: relative;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); }

.tile__num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tomato);
  margin: 0 0 1.2rem;
}
.tile h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tile p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 40ch;
  color: var(--ink);
  opacity: .78;
}
.tile em {
  font-family: var(--display);
  font-style: italic;
  color: var(--tomato);
  font-size: 1.06em;
}
.tile strong { font-weight: 600; }

.tile__link {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tile__link:hover { background: var(--ink); color: var(--cream); }

/* accent variant — must come AFTER the generic .tile h3/p/em rules */
.tile--accent { background: var(--tomato); color: var(--cream); }
.tile--accent .tile__num { color: var(--lime); }
.tile--accent h3 { color: var(--cream); }
.tile--accent p { color: var(--cream); opacity: 1; }
.tile--accent em { color: var(--lime); }
.tile--accent strong { color: var(--lime); font-weight: 600; }

/* ---------------- 8. GIFT (tomato · riso-print backdrop) ---------------- */
.gift {
  background-color: var(--tomato);
  color: var(--cream);
  padding: clamp(64px, 11vw, 140px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* the photo, treated as a duotone riso print */
.gift::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/bg.jpg') center/cover no-repeat;
  filter: grayscale(1) contrast(1.55) brightness(1.08);
  mix-blend-mode: multiply;
  opacity: .55;
  z-index: -2;
}
/* halftone dot overlay */
.gift::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(24,22,21,.18) 1.1px, transparent 1.2px),
    radial-gradient(rgba(244,237,224,.15) 1.1px, transparent 1.2px);
  background-size: 6px 6px, 6px 6px;
  background-position: 0 0, 3px 3px;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
.gift > * { position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(24,22,21,.5), 0 0 24px rgba(24,22,21,.3); }
.gift > .kicker { display: inline-block; margin-bottom: clamp(28px, 4vw, 44px); }
.gift__line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: .98;
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.gift__line em {
  font-style: italic;
  color: var(--lime);
}
.gift__sub {
  max-width: 50ch;
  margin: clamp(28px, 4vw, 40px) auto 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--cream);
}

/* ---------------- 9. RSVP (ink) ---------------- */
.rsvp {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 9vw, 110px) var(--gutter);
}
.rsvp__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(32px, 5vw, 56px);
}
.rsvp__head .display { margin-top: 1rem; max-width: 18ch; }
.rsvp__body {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 40px);
}

/* button — clean & bold */
.rsvp__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 32px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  overflow: hidden;
}
.rsvp__btn-text { position: relative; z-index: 1; }
.rsvp__btn-arrow {
  position: relative;
  width: 22px; height: 22px;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}
.rsvp__btn-arrow svg {
  position: absolute; inset: 0;
  transition: transform .45s var(--ease);
}
.rsvp__btn-arrow svg:nth-child(2) { transform: translate(-130%, 130%); }

.rsvp__btn:hover {
  background: var(--tomato);
  color: var(--cream);
  transform: translateY(-3px);
}
.rsvp__btn:hover .rsvp__btn-arrow svg:nth-child(1) { transform: translate(130%, -130%); }
.rsvp__btn:hover .rsvp__btn-arrow svg:nth-child(2) { transform: translate(0, 0); transition-delay: .12s; }
.rsvp__btn:active { transform: translateY(-1px) scale(.98); transition-duration: .12s; }
.rsvp__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--lime);
}

.rsvp__hint {
  margin: 0;
  font-size: 14px;
  color: rgba(244,237,224,.7);
}
.rsvp__hint a { color: var(--lime); text-decoration: none; border-bottom: 1px dashed rgba(216,232,74,.5); }
.rsvp__hint a:hover { color: var(--cream); border-bottom-color: var(--cream); }

/* ---------------- 10. FOOTER ---------------- */
.foot {
  padding: clamp(60px, 9vw, 110px) var(--gutter) 30px;
  text-align: center;
  background: var(--cream);
}
.foot__big {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1;
  margin: 0 0 clamp(40px, 6vw, 64px);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.foot__big em { color: var(--tomato); }
.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .65;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__bottom a { text-decoration: none; }
.foot__bottom a:hover { color: var(--tomato); opacity: 1; }

/* ---------------- impressum (collapsible) ---------------- */
.impressum {
  max-width: 720px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: left;
  border-top: 1px solid rgba(24,22,21,.15);
  padding-top: 1.2rem;
}
.impressum > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .65;
  padding: .6rem 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .3s var(--ease);
}
.impressum > summary::-webkit-details-marker { display: none; }
.impressum > summary::after {
  content: "+";
  display: inline-block;
  font-size: 14px;
  transition: transform .3s var(--ease);
}
.impressum[open] > summary::after { content: "−"; }
.impressum > summary:hover { opacity: 1; color: var(--tomato); }

.impressum__body {
  display: grid;
  gap: .8rem;
  margin: .8rem 0 1.2rem;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .8;
  text-align: left;
}
.impressum__body p { margin: 0; }
.impressum__body strong { font-weight: 600; }
.impressum__body a {
  color: var(--tomato);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}
.impressum__body a:hover { color: var(--ink); }

/* ---------------- reveal animations ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .stamp,
  .topbar__cta-dot { animation: none !important; }
}
