html:has(body[data-presentation="selected"]) {
  --review-scroll-offset: 24px;
  scroll-padding-top: 24px;
}
body[data-presentation="selected"] { background: #181d19; }
body[data-presentation="selected"] .dark-hero { min-height: min(100svh, 900px); }
body[data-presentation="selected"] .site-footer { padding-bottom: 28px; }
body[data-presentation="selected"] .extensions-trigger {
  position: static;
  width: fit-content;
  margin: 16px var(--layout-inset) 24px;
  box-shadow: none;
}
.selected-preview-notice {
  margin-inline: var(--layout-inset);
  padding: 0 0 32px;
  color: #bdc8bf;
  font: 400 12px/1.6 Inter, Arial, sans-serif;
  max-width: 110ch;
}
.mobile-contact { display: none; }
.selected-error {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(72px, 18vh, 180px) 24px;
  color: #f2f6ee;
  font: 400 18px/1.6 Inter, Arial, sans-serif;
}
.selected-error h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.15; }
.selected-error a { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 22px; margin-top: 16px; background: #d3edaa; color: #182518; border-radius: 4px; text-decoration: none; font-weight: 700; }
.error-eyebrow { color: #d3edaa; font-size: 13px; letter-spacing: .12em; }
@media (max-width: 760px) {
  body[data-presentation="selected"] .dark-hero { min-height: 580px; }
  body[data-presentation="selected"] .hero { padding-bottom: 48px; }
  body[data-presentation="selected"] .extensions-trigger { margin-inline: 22px; max-width: calc(100% - 44px); }
  .selected-preview-notice { margin-inline: 22px; padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact {
    position: fixed;
    z-index: 9;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #18251cf5;
    border-top: 1px solid #d3edaa30;
    box-shadow: 0 -4px 18px #0002;
  }
  .mobile-contact a { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 48px; padding: 10px 6px; border: 1px solid #d3edaa66; border-radius: 4px; color: #edf4e6; font: 600 13px/1.3 Inter, Arial, sans-serif; }
  .mobile-contact a:first-child { background: #d3edaa; color: #182518; border-color: #d3edaa; }
  .mobile-contact .icon { width: 18px; height: 18px; }
  body[data-presentation="selected"]:has(dialog[open]) .mobile-contact { visibility: hidden; }
}
@media (max-width: 760px) and (max-height: 650px) {
  body[data-presentation="selected"] .hero { padding-top: 56px; }
}
.variant-dark .service-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.variant-dark .service-top h3 { overflow-wrap: anywhere; }
@media print { .mobile-contact, .selected-preview-notice { display: none; } }

/* Approved author signature, matching the Fahrschule footer. */
.rs-document-footer-nav .rs-creator-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 120px;
  width: 120px;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  margin-left: auto;
  border-radius: 4px;
}
.rs-creator-credit img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .65;
}
.rs-creator-credit:hover img, .rs-creator-credit:focus-visible img { opacity: 1; }
.rs-document-footer-nav .rs-creator-credit:focus-visible { outline: 2px solid var(--rs-focus-outer); outline-offset: 5px; }
