:root {
  --grund: #0f0d0b;
  --flaeche: #17140f;
  --text: #f1ebe1;
  --gold: #c9a45c;
  --hell: #ece4d6;
  --dunkel: #1a1612;
  --linie: rgba(241, 235, 225, 0.14);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --rand: 20px;
  --luft: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
.mono { font-family: var(--mono); font-size: 0.88em; letter-spacing: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }

h2 {
  font: 400 40px/1.05 var(--serif);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.gross {
  font: 400 26px/1.25 var(--serif);
  letter-spacing: -0.01em;
  max-width: 22em;
  margin-bottom: 24px;
}
.klein, .leise { color: rgba(241, 235, 225, 0.6); }
.klein { font-size: 15px; margin-top: 24px; }

/* Knöpfe und Links */
.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--dunkel);
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 150ms ease-out;
}
.knopf:hover { background: #d8b674; }
.knopf--dunkel { background: var(--dunkel); color: var(--hell); }
.knopf--dunkel:hover { background: #2a231c; }
.link {
  display: inline-block;
  padding: 8px 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(241, 235, 225, 0.4);
  transition: text-decoration-color 150ms ease-out;
}
.link:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Kopfzeile */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--rand);
}
.top { justify-content: flex-end; }
.top a { text-decoration: none; padding: 8px 0; text-shadow: 0 1px 12px rgba(15, 13, 11, 0.7); }

/* Einstieg */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bild { position: absolute; inset: 0; }
.hero__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.94) 0%, rgba(15, 13, 11, 0.72) 30%, rgba(15, 13, 11, 0) 62%);
}
.hero__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 50%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__inhalt { position: relative; width: 100%; padding-bottom: 40px; }
.hero__zeile { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.name {
  display: flex;
  font: 400 29vw/0.95 var(--serif);
  font-variation-settings: "opsz" 18;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 16px -0.03em;
}
.name span { display: block; overflow: hidden; padding-bottom: 0.04em; }
.name i { display: block; font-style: normal; }
.hero__satz { max-width: 20em; margin-bottom: 24px; color: rgba(241, 235, 225, 0.92); }
.hero__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* Abschnitte */
.abschnitt { padding: var(--luft) 0; }
.hell { background: var(--hell); color: var(--dunkel); }
.hell .link { text-decoration-color: rgba(26, 22, 18, 0.4); }

/* Leistungen */
.liste { border-top: 1px solid var(--linie); }
.zeile {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--linie);
}
.zeile img { width: 56px; height: 72px; object-fit: cover; border-radius: 2px; }
.zeile h3 { font: 400 26px/1.1 var(--serif); letter-spacing: -0.01em; margin-bottom: 8px; }
.zeile p { color: rgba(241, 235, 225, 0.68); font-size: 16px; }
.leistungen__bild { display: none; }

/* Hochzeit */
.hochzeit { display: grid; gap: 40px; }
.hochzeit__text p:not(.gross) { max-width: 34em; margin-bottom: 24px; color: rgba(26, 22, 18, 0.78); }
.hochzeit__bild { width: 240px; }
.hochzeit__bild img { width: 240px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 2px; }
figcaption { font-size: 14px; margin-top: 8px; }
.hochzeit__bild figcaption { color: rgba(26, 22, 18, 0.6); }

/* Looks */
.looks__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.looks__kopf h2 { margin-bottom: 0; }
.looks {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 var(--rand);
  scroll-padding-left: var(--rand);
  scrollbar-width: none;
}
.looks::-webkit-scrollbar { display: none; }
.looks figure { flex: 0 0 220px; scroll-snap-align: start; }
.looks img { width: 220px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 2px; }
.looks figcaption { display: flex; justify-content: space-between; gap: 8px; }
.looks figcaption .mono { color: rgba(241, 235, 225, 0.5); }

/* Kontakt */
.kontakt { display: grid; gap: 64px; }
.daten { border-top: 1px solid var(--linie); }
.daten div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--linie);
}
.daten dt { color: rgba(241, 235, 225, 0.6); }
.daten a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
.daten dd, .daten dt { align-self: center; }

/* Fuss */
.fuss { border-top: 1px solid var(--linie); padding: 40px 0 24px; overflow: hidden; }
.fuss__name {
  font: 400 29vw/0.9 var(--serif);
  font-variation-settings: "opsz" 18;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px -0.03em;
}
.fuss__zeile a { display: inline-block; padding: 8px 0; }
.fuss__zeile { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: rgba(241, 235, 225, 0.6); }

/* Bewegung */
.js .name i { transform: translateY(105%); transition: transform 1000ms var(--expo); }
.js .name span:nth-child(2) i { transition-delay: 90ms; }
.js .name span:nth-child(3) i { transition-delay: 180ms; }
.js .name span:nth-child(4) i { transition-delay: 270ms; }
.js .bereit .name i { transform: none; }
.js [data-auf] img { clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 900ms var(--expo), transform 900ms var(--expo); }
.js [data-auf].drin img { clip-path: inset(0); transform: none; }
.looks figure, .hochzeit__bild { overflow: hidden; }

@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 120px; }
  body { font-size: 18px; }
  h2 { font-size: 64px; margin-bottom: 64px; }
  .gross { font-size: 36px; }
  .top { padding-top: 24px; }

  .hero__bild::after {
    background: linear-gradient(to right, rgba(15, 13, 11, 0.6) 0%, rgba(15, 13, 11, 0) 60%),
                linear-gradient(to top, rgba(15, 13, 11, 0.7) 0%, rgba(15, 13, 11, 0) 40%);
  }
  .hero__bild img { object-position: 100% 40%; }
  .hero__inhalt { padding-bottom: 64px; }
  .hero__zeile { font-size: 17px; margin-bottom: 16px; }
  .name { font-size: min(21vw, 42vh); margin-bottom: 24px; }

  .leistungen { display: grid; grid-template-columns: 1fr 320px; gap: 104px; align-items: start; }
  .zeile { grid-template-columns: 1fr; padding: 24px 0; cursor: default; transition: padding-left 600ms var(--expo); }
  .zeile > img { display: none; }
  .zeile > div { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: baseline; }
  .zeile h3 { font-size: 40px; margin: 0; color: rgba(241, 235, 225, 0.5); transition: color 150ms ease-out; }
  .zeile.ist-aktiv h3 { color: var(--text); }
  .zeile.ist-aktiv { padding-left: 16px; }
  .leistungen__bild { display: block; position: sticky; top: 104px; margin-top: 128px; overflow: hidden; border-radius: 2px; }
  .leistungen__bild img { width: 320px; aspect-ratio: 9 / 16; object-fit: cover; }

  .hochzeit { grid-template-columns: 1fr 280px; gap: 104px; align-items: end; }
  .hochzeit__bild, .hochzeit__bild img { width: 280px; }

  .looks { padding: 0 max(var(--rand), calc((100vw - 1200px) / 2 + var(--rand))); gap: 24px; }
  .looks figure { flex-basis: 260px; }
  .looks img { width: 260px; }

  .kontakt { grid-template-columns: 1fr 1fr; gap: 104px; }
  .fuss__name { font-size: min(21vw, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .name i, .js [data-auf] img, .hero__bild img { transform: none !important; clip-path: none !important; transition: none !important; }
}
