:root {
  --background: #f8f6f1;
  --background-alt: #eeeae1;
  --text: #353831;
  --muted: #72766c;
  --green: #687461;
  --green-dark: #4e5949;
  --white: #ffffff;
  --line: #d8d4ca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1.8;
}



/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at top, #ffffff 0%, #f3f0e8 55%, #e5e1d7 100%);
}

.hero-botanicals {
  position: absolute;
  inset: auto 50% 0 auto;
  width: min(1500px, 110vw);
  max-width: none;
  height: auto;
  transform: translateX(50%);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.hero-names {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 9vw, 7.2rem);
  font-weight: 500;
  line-height: 0.86;
}

.hero-names span {
  display: block;
}

.hero-names em {
  display: block;
  margin: 18px 0;
  color: var(--green);
  font-size: 0.52em;
  font-weight: 400;
}

.hero-divider {
  width: 72px;
  height: 1px;
  margin: 38px auto 26px;
  background: var(--green);
}

.hero-date {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.15em;
}

.hero-location {
  margin: 0 0 34px;
  color: #686b63;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-button {
  display: inline-block;
  min-width: 190px;
  padding: 14px 32px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.hero-button:hover {
  background: var(--green);
  color: var(--white);
}

.hero-scroll {
  display: flex;
  width: max-content;
  margin: 34px auto 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.55;
}

@media (max-width: 700px) {

  .hero {
    min-height: 100svh;
    padding: 36px 20px;
  }

  .hero-botanicals {
    width: auto;
    height: 92%;
    opacity: 0.12;
  }

  .hero-names {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  .hero-location {
    font-size: 0.95rem;
  }
}


/* SECTIONS */

.section {
  max-width: 1100px;
  margin: auto;
  padding: 110px 30px;
  text-align: center;
}

.alternate {
  max-width: none;
  padding-left: max(30px, calc((100% - 1040px) / 2));
  padding-right: max(30px, calc((100% - 1040px) / 2));
  background: var(--background-alt);
}

.section h2 {
  margin: 0 0 30px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
}

.section > p:not(.eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.6;
}


/* DETAILS */

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.detail {
  padding: 35px 20px;
}

.detail span {
  font-size: 2rem;
}

.detail h3 {
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.detail p {
  margin: 0;
  color: var(--muted);
}

.small-note {
  margin-top: 30px !important;
  font-style: italic;
}

.placeholder {
  max-width: 700px;
  margin: 45px auto 0;
  padding: 40px;
  border: 1px dashed var(--line);
  color: var(--muted);
}


/* RSVP */

.rsvp-section {
  max-width: 900px;
}

.rsvp-intro {
  margin-bottom: 45px !important;
}

.survey-wrapper {
  padding: 20px;
  text-align: left;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(40, 45, 35, 0.08);
}


/* SurveyJS etwas beruhigen */

.sd-root-modern {
  --sjs-primary-backcolor: #687461;
  --sjs-primary-backcolor-dark: #4e5949;
  --sjs-general-backcolor: #ffffff;
  --sjs-general-forecolor: #353831;
  font-family: "Montserrat", sans-serif;
}


/* FOOTER */

footer {
  padding: 70px 20px;
  text-align: center;
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
}

.footer-names {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: white;
}

footer p:last-child {
  margin: 5px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}


/* MOBILE */

@media (max-width: 700px) {

  .hero {
    min-height: 85vh;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 45px;
  }

  .survey-wrapper {
    padding: 5px;
  }
}

/* Anordnung Unser großer Tag */

.detail-location {
  grid-column: 1 / -1;
  padding-bottom: 20px;
}

.detail-location h3 {
  font-size: 2rem;
}

.detail-event {
  padding-top: 25px;
}

.details .detail-event:nth-of-type(2) {
  grid-column: 1 / 2;
}

.details .detail-event:nth-of-type(3) {
  grid-column: 3 / 4;
}

@media (max-width: 700px) {
  .detail-location,
  .details .detail-event:nth-of-type(2),
  .details .detail-event:nth-of-type(3) {
    grid-column: 1;
  }
}


/* BOTANIK – Größe, Position und Sichtbarkeit */

.hero-botanicals {
  width: 138vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  opacity: 0.25;
}

@media (max-width: 700px) {
  .hero-botanicals {
    width: auto;
    height: 105%;
    max-width: none;
    bottom: -4%;
    opacity: 0.18;
  }
}


/* BOTANIK – finale Größenanpassung */

.hero-botanicals {
  width: 120vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: -5%;
  transform: translateX(-50%);
  opacity: 0.25;
}

@media (max-width: 700px) {
  .hero-botanicals {
    width: auto;
    height: 96%;
    max-width: none;
    bottom: -2%;
    opacity: 0.18;
  }
}


/* BOTANIK – Größe zurück auf ursprünglichen Wert */

.hero-botanicals {
  width: min(1500px, 110vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Größe zurück auf ursprünglichen Wert */

.hero-botanicals {
  width: min(1500px, 115vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Größe zurück auf ursprünglichen Wert */

.hero-botanicals {
  width: min(1500px, 120vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Feinabstimmung */

.hero-botanicals {
  width: min(1600px, 115vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Feinabstimmung 117vw */

.hero-botanicals {
  width: min(1600px, 117vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Feinabstimmung 120vw */

.hero-botanicals {
  width: min(1700px, 120vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Feinabstimmung 130vw */

.hero-botanicals {
  width: 130vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Feinabstimmung 125vw */

.hero-botanicals {
  width: 125vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – 125vw mit Größenbegrenzung */

.hero-botanicals {
  width: min(1700px, 125vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – 130vw mit Größenbegrenzung */

.hero-botanicals {
  width: min(1700px, 130vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Neustart ohne Größenbegrenzung, 115vw */

.hero-botanicals {
  width: 115vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – Test 100vw ohne Größenbegrenzung */

.hero-botanicals {
  width: 100vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.23;
}


/* BOTANIK – etwas deutlicher */

.hero-botanicals {
  width: 100vw;
  max-width: none;
  height: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  opacity: 0.27;
}

