/* Variante A – editorial, angelehnt an evgenia-ryan.com */
:root {
  --bg: #fcfbf9;
  --ink: #0e0d0c;
  --muted: #6d6a66;
  --line: rgba(14, 13, 12, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 19px; line-height: 1.55; font-weight: 400;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.up { text-transform: uppercase; letter-spacing: 0.18em; }
.placeholder { background: rgba(160, 130, 80, 0.14); padding: 0 4px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.nav ul {
  display: flex; align-items: center; gap: clamp(18px, 3.4vw, 48px);
  list-style: none; margin: 0; padding: 0 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; transition: opacity .2s; }
.nav a:hover { opacity: .6; }
.nav .pill { background: var(--ink); color: #fff; padding: 7px 16px; border-radius: 999px; }
.nav .pill:hover { opacity: .85; }

/* Hero */
.hero {
  position: relative; min-height: min(100svh, 1000px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  text-align: center; padding: 96px 16px 56px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(0.92) brightness(1.06); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(252,251,249,.62) 0%, rgba(252,251,249,.38) 40%, rgba(252,251,249,.72) 100%);
}
.hero .eyebrow { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0; }
.names {
  font-weight: 300; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em;
  font-size: clamp(64px, 10.5vw, 150px); margin: 0;
}
.names span { display: inline-block; }
.hero .when { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 0.06em; text-transform: uppercase; margin: 24px 0 4px; }
.hero .where { font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; opacity: .7; margin: 0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  padding: 11px 32px; border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }

/* Sections */
section { padding: clamp(80px, 12vw, 140px) 16px; }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 640px; margin: 0 auto; }
h2 { font-weight: 300; font-size: clamp(42px, 6vw, 60px); line-height: 1.05; text-transform: uppercase; text-align: center; margin: 0 0 18px; }
.sep { width: 64px; height: 1px; background: currentColor; margin: 0 auto 56px; border: 0; }
.lead { text-align: center; opacity: .75; margin: -32px auto 56px; max-width: 560px; }

/* Ablauf – schwarz */
.dark { background: var(--ink); color: #fff; text-transform: uppercase; }
.days { display: grid; gap: 28px; }
@media (min-width: 860px) { .days { grid-template-columns: repeat(3, 1fr); } }
.day {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 28px 24px; border: 1px solid #3a3734; border-radius: 10px; text-align: center;
  transition: border-color .3s;
}
.day:hover { border-color: #fff; }
.day.main { border-color: #8d8780; }
.day h3 { font-weight: 400; font-size: 32px; margin: 0 0 4px; }
.day .date { opacity: .7; margin: 0 0 14px; font-size: 17px; }
.day .kind { font-size: 13px; letter-spacing: .18em; margin: 0 0 18px; }
.day ul { list-style: none; margin: 0; padding: 0; font-size: 17px; }
.day li { padding: 3px 0; }
.day li b { font-weight: 600; }
.day .dress { font-size: 14px; opacity: .7; text-transform: none; letter-spacing: .02em; }
.day .dress b { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; opacity: 1; margin-bottom: 4px; }

/* Location */
.venue { text-align: center; }
.venue .name { font-size: clamp(30px, 4vw, 40px); font-weight: 400; text-transform: uppercase; margin: 0 0 8px; }
.venue address { font-style: normal; opacity: .75; margin-bottom: 32px; }

/* Übernachten */
.stays { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stays li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n a" "d a"; align-items: center; gap: 2px 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.stays .n { grid-area: n; } .stays .d { grid-area: d; } .stays a { grid-area: a; }
.stays .n { font-size: 24px; text-transform: uppercase; }
.stays .d { opacity: .65; font-size: 17px; }
.stays a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }

/* Momente */
.grey { background: #f1efeb; }
.moments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 40px; }
@media (min-width: 760px) { .moments { grid-template-columns: repeat(4, 1fr); } }
.moments a, .moments video { aspect-ratio: 1; overflow: hidden; background: #e4e1dc; display: block; }
.moments img, .moments video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.moments a:hover img { transform: scale(1.04); }
.center { text-align: center; }
.progress { max-width: 420px; margin: 22px auto 0; height: 2px; background: var(--line); display: none; }
.progress > div { height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.status { min-height: 1.5em; text-align: center; opacity: .8; margin: 14px 0 0; }
.status.ok { color: #3f6b3a; } .status.err { color: #9a3b2f; }

/* Zusage */
form.rsvp { display: grid; gap: 22px; }
label.f { display: grid; gap: 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.f input, .f textarea {
  font: inherit; font-size: 21px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 6px 0; outline: none;
}
.f input:focus, .f textarea:focus { border-bottom-color: var(--ink); }
.f textarea { resize: vertical; min-height: 70px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; text-align: center; padding: 11px 8px; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; text-transform: uppercase; font-size: 16px; transition: background .2s, color .2s; }
.choice input:checked + span { background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid #a08250; outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }

footer { text-align: center; padding: 80px 16px 96px; border-top: 1px solid var(--line); }
footer img { width: 140px; margin: 0 auto 18px; }
footer p { text-transform: uppercase; letter-spacing: .14em; font-size: 15px; margin: 0; }
footer .alt { margin-top: 28px; font-size: 13px; opacity: .55; }

@media (max-width: 560px) {
  .nav .hide-sm { display: none; }
  .nav ul { gap: 16px; font-size: 11px; letter-spacing: 0.12em; }
  .nav .pill { padding: 6px 13px; }
  .btn { font-size: 15px; padding: 9px 22px; }
  .actions { gap: 10px; margin-top: 32px; }
  .hero { padding-bottom: 40px; }
}

/* Wir zwei – Fotoreihe */
.us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 28px; }
.us-grid figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: rgba(0,0,0,.05); }
.us-grid figure:nth-child(even) { transform: translateY(28px); }
.us-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.us-grid figure:hover img { transform: scale(1.035); }
@media (min-width: 800px) {
  .us-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 56px; }
  .us-grid figure:nth-child(even) { transform: translateY(56px); }
}
