/*
Direction contract: A booking-first control surface. The first screen answers where,
what and how, then gives the real appointment widget maximum visual priority.
*/

body {
  background: #f6f7f9;
}

.a-hero {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 54px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  gap: 72px;
  align-items: start;
}

.a-copy {
  position: sticky;
  top: 34px;
  padding-top: 18px;
}

.a-copy__availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.a-copy__availability::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18b36b;
  box-shadow: 0 0 0 5px rgba(24, 179, 107, 0.11);
}

.a-widget {
  min-width: 0;
}

.a-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.a-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a-assurance svg {
  width: 15px;
  height: 15px;
  stroke: var(--green);
}

@media (max-width: 1060px) {
  .a-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .a-copy {
    position: static;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
    align-items: end;
  }

  .a-copy .benefit-list {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .a-hero {
    width: min(calc(100% - 28px), var(--content));
    padding: 27px 0 44px;
    gap: 25px;
  }

  .a-copy {
    display: block;
    padding-top: 0;
  }

  .a-copy__availability {
    margin-bottom: 14px;
    font-size: 13px;
  }

  /* Was display:none. These three lines carry the only mention of the
     Hol- und Bringservice on the page, on the 85 % of traffic that is mobile. */
  .a-copy .benefit-list {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
  }

  .a-copy .benefit-list li { font-size: 14px; }

  .a-assurance {
    justify-content: center;
  }
}
