/* Contact photohero only. Existing form, navigation and footer styling is preserved. */
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 411px;
  padding: 64px 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #414042;
  color: #fff;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 25%;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 0 0 / 75%) 0%, rgb(0 0 0 / 60%) 36%, rgb(0 0 0 / 18%) 68%, transparent 100%);
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .container {
  width: 100%;
  max-width: 1120px;
  padding: 0 32px;
  text-align: left;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero h1 {
  color: #fff;
  font: 700 clamp(36px, 3.3vw, 48px)/1.15 Lato, Arial, sans-serif;
  max-width: 560px;
  margin: 0 0 23px;
  letter-spacing: -.7px;
  text-align: left;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero p {
  color: #fff;
  font: 400 21px/1.55 Lato, Arial, sans-serif;
  max-width: 455px;
  margin: 0 0 31px;
  text-align: left;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 50px;
  padding: 14px 27px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #414042;
  font: 700 16px/1.4 Lato, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-cta:is(:hover, :focus-visible) {
  background: #e1f3f8;
  border-color: #e1f3f8;
  color: #414042;
  text-decoration: none;
}
body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-cta:focus-visible {
  outline: 3px solid #70cde4;
  outline-offset: 5px;
}
body.html.not-front.page-kontakt-os.di-contact-live:has(#contact-site-form) .di-contact-details {
  background: #e1f3f8;
}
@media (max-width: 700px) {
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero { min-height: 360px; padding: 44px 0; }
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .container { padding: 0 24px; }
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-photo { object-position: 65% 35%; }
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero::before { background: rgb(0 0 0 / 62%); }
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero h1 { font-size: 35px; max-width: 400px; margin-bottom: 20px; }
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero p { font-size: 18px; max-width: 390px; margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  body.html.not-front.page-kontakt-os:is(.di-contact-live, :has(#contact-site-form)) .di-contact-hero.di-contact-photohero .di-contact-hero-cta { transition: none; }
}
