/* Shared editorial rhythm for image-and-copy detail sections. */
.dot {
  margin: 26px 0 20px;
}

.offer-detail__copy .dot,
.split__copy .dot {
  margin: 24px 0 18px;
}

.offer-detail__copy p,
.split__copy p {
  margin-top: 0;
}

.offer-detail__copy p + p,
.split__copy p + p {
  margin-top: 18px;
}

.offer-detail__copy .button {
  margin-top: 28px;
}

@media (min-width: 720px) {
  .offer-detail__copy .dot,
  .split__copy .dot {
    margin-top: 28px;
    margin-bottom: 20px;
  }
}

.page-hero--angebote {
  background:
    linear-gradient(90deg, rgba(46, 31, 17, .78), rgba(46, 31, 17, .42) 68%, rgba(46, 31, 17, .24)),
    url("images/C4B6F26C-5EEC-4C31-87B9-0BC0D11B8ADC_web-grade-1078.webp") center 42% / cover no-repeat;
}

@media (min-width: 720px) {
  .page-hero--angebote {
    background-color: var(--espresso);
    background-image:
      linear-gradient(90deg, var(--espresso) 0%, var(--espresso) 34%, rgba(46, 31, 17, .82) 48%, rgba(46, 31, 17, .2) 76%, rgba(46, 31, 17, .08) 100%),
      url("images/C4B6F26C-5EEC-4C31-87B9-0BC0D11B8ADC_web-grade-1078.webp");
    background-position: center, right 43%;
    background-size: cover, auto 185%;
    background-repeat: no-repeat;
  }
}

.contact-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--linen);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(16, 15, 15, .3);
}

.contact-dialog::backdrop {
  background: rgba(16, 15, 15, .68);
  backdrop-filter: blur(8px);
}

.contact-dialog__panel {
  position: relative;
  padding: 30px 22px 24px;
}

.contact-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 15, 15, .15);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font: 400 1.8rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.contact-dialog h2 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(2.35rem, 9vw, 4.2rem);
}

.contact-dialog__intro {
  max-width: 42ch;
  margin-top: 16px;
  font-size: 1.04rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-form__grid {
  display: grid;
  gap: 14px;
}

.contact-form label:not(.contact-form__consent) {
  display: grid;
  gap: 8px;
}

.contact-form label > span:first-child {
  font: 500 .72rem/1 "DM Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.contact-form label > span:first-child small {
  font: inherit;
  color: rgba(16, 15, 15, .5);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 15, 15, .18);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 104px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(91, 103, 73, .16);
}

.contact-form__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: .82rem;
  line-height: 1.4;
}

.contact-form__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--olive);
}

.contact-form .button {
  width: 100%;
  border: 0;
  font-size: 1.05rem;
  cursor: pointer;
}

.contact-form__note {
  text-align: center;
  color: rgba(16, 15, 15, .65);
  font-size: .8rem;
}

.contact-form__honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.contact__email {
  display: inline-block;
  margin-top: 12px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-dialog__done {
  margin-top: 30px;
  border: 0;
  cursor: pointer;
}

@media (max-width: 719px) {
  .contact-dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 19px;
  }

  .contact-dialog__panel {
    padding: 18px 16px 14px;
  }

  .contact-dialog__close {
    top: 11px;
    right: 11px;
    width: 34px;
    height: 34px;
    font-size: 1.45rem;
  }

  .contact-dialog h2 {
    max-width: 14ch;
    margin-top: 7px;
    padding-right: 30px;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: .94;
  }

  .contact-dialog__intro {
    margin-top: 8px;
    font-size: .9rem;
    line-height: 1.35;
  }

  .contact-form {
    gap: 8px;
    margin-top: 12px;
  }

  .contact-form__grid {
    gap: 8px;
  }

  .contact-form label:not(.contact-form__consent) {
    gap: 5px;
  }

  .contact-form label > span:first-child {
    font-size: .64rem;
  }

  .contact-form input:not([type="checkbox"]),
  .contact-form select,
  .contact-form textarea {
    border-radius: 10px;
    padding: 9px 11px;
    font-size: .92rem;
    line-height: 1.2;
  }

  .contact-form textarea {
    min-height: 54px;
  }

  .contact-form__consent {
    grid-template-columns: 18px 1fr;
    gap: 8px;
    font-size: .72rem;
    line-height: 1.28;
  }

  .contact-form__consent input {
    width: 16px;
    height: 16px;
  }

  .contact-form .button {
    min-height: 44px;
    padding: 10px 18px;
    font-size: .98rem;
  }

  .contact-form__note {
    font-size: .72rem;
    line-height: 1.25;
  }
}

.contact {
  background: #a8ac90;
  color: var(--ink);
}

.contact .button--light {
  background: var(--olive);
  color: var(--white);
}

.contact .button--light:hover {
  background: var(--olive-dark);
}

@media (min-width: 720px) {
  .contact-dialog__panel {
    padding: 44px 54px 36px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}
