/* Native Datumsfelder insbesondere in iOS auf die Formularbreite begrenzen. */
.tx-field input[type="date"],
.pm-field input[type="date"],
.wt-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 52px;
  min-height: 52px;
  text-align: left;
}
.date-control {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.date-control input::-webkit-date-and-time-value {
  min-width: 0;
  min-height: 1.5em;
  text-align: left;
}
.date-placeholder {
  display: none;
  position: absolute;
  left: 13px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
  line-height: 1.5;
  pointer-events: none;
}
.date-control[data-empty="true"] input:not(:focus) {
  color: transparent;
}
.date-control[data-empty="true"] input:not(:focus)::-webkit-datetime-edit {
  color: transparent;
}
.date-control[data-empty="true"] input:not(:focus) + .date-placeholder {
  display: block;
}

/* Grundlayout für Browser, die die seitenbezogenen :where-Regeln ignorieren.
   Die Klasse wird anhand der Fähigkeit erkannt, nicht anhand des Gerätemodells. */
.legacy-layout * {
  box-sizing: border-box;
}
.legacy-layout body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #0d0d0d;
  color: #fff;
  line-height: 1.6;
}
.legacy-layout h1,
.legacy-layout h2,
.legacy-layout h3,
.legacy-layout p {
  margin-top: 0;
}
.legacy-layout a {
  color: inherit;
  text-decoration: none;
}
.legacy-layout img {
  display: block;
  max-width: 100%;
  height: auto;
}
.legacy-layout .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.legacy-layout .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 100px;
  overflow: hidden;
}
.legacy-layout .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.legacy-layout .hero-title {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.legacy-layout .hero-text {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}
.legacy-layout .hero-buttons a {
  display: inline-block;
  padding: 14px 20px;
  margin: 0 12px 12px 0;
  border: 1px solid #777;
  border-radius: 10px;
}
.legacy-layout .services-grid,
.legacy-layout .about-grid {
  display: grid;
}
.legacy-layout .service-card {
  position: relative;
  border: 1px solid #393939;
  overflow: hidden;
}
.legacy-layout .about-avatar {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.legacy-layout .page-home > section:not(.hero) {
  padding-top: 60px;
  padding-bottom: 40px;
}
.legacy-layout .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.legacy-layout .footer-links > * {
  display: inline-block;
  margin-right: 8px;
}
@media (max-width: 1100px) {
  .legacy-layout .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legacy-layout .hero-title {
    font-size: 42px;
  }
}
/* Die Textbreite rechtlicher Seiten auch im Ersatzlayout erhalten. */
.legacy-layout .legal-document .container {
  max-width: 900px;
}

/* Mobile Performance Test */
@media (max-width: 960px) {

  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 10, 10, 0.96) !important;
  }

  .scroll-top {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

}