/* Gemeinsame Feinarbeit für alle Seiten des Fiethen-Webauftritts. */

/* Original-Teamfoto: Personen bleiben unverändert, nur die Werkstattfläche ist erweitert. */
.hero-image--original-team picture,
.svc-hero-image--original-team picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image--original-team img,
.svc-hero-image--original-team img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Startseite: die kompakte Teamgruppe rechts vollständig im Hero halten. */
.home-page .hero-image--original-team img {
  object-position: center center !important;
}

/* Startseiten-Hero: ausschließlich das unveränderte Original-Teamfoto.
   Der Verlauf schafft die Textfläche; kein generiertes Fahrzeug oder Personen-Compositing. */
.home-page .hero-image--original-team::after {
  background:
    linear-gradient(180deg,
      rgba(0,47,97,1) 0%,
      rgba(0,47,97,.96) 23%,
      rgba(0,47,97,.72) 32%,
      rgba(0,47,97,.26) 40%,
      transparent 48%,
      transparent 82%,
      rgba(0,47,97,.18) 90%,
      rgba(0,47,97,.72) 100%),
    linear-gradient(90deg,
      rgba(0,47,97,1) 0%,
      rgba(0,47,97,.98) 20%,
      rgba(0,47,97,.84) 28%,
      rgba(0,47,97,.48) 34%,
      rgba(0,47,97,.16) 40%,
      rgba(0,47,97,.04) 44%,
      transparent 48%) !important;
}

@media (min-width: 1181px) {
  .home-page .hero-image--original-team picture {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: 78%;
    height: auto;
    aspect-ratio: 2200 / 800;
    transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 100%);
  }

  .home-page .hero-image--original-team img {
    object-fit: cover !important;
    object-position: center center !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
  }

  .home-page .hero-grid > div:first-child {
    text-shadow: 0 1px 4px rgba(0,32,64,.42);
  }
}

.home-page .hero-image--original-team .hero-image-badge {
  display: block;
  inset: auto auto 9px 10px;
  z-index: 2;
  padding: 2px 5px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  background: rgba(5,32,57,.52);
  color: rgba(255,255,255,.76);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: none;
  backdrop-filter: blur(3px);
}

/* Die Ortszeile bleibt als Einheit stehen und vermeidet ein einzelnes „in“. */
.home-page .hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.home-page .hero h1 em {
  display: inline-block;
  font-size: .86em;
  white-space: nowrap;
}

/* Teamseite: identisches Hero wie auf der Startseite, mit ruhiger blauer Textfläche. */
.team-hero .svc-hero-image--original-team img {
  object-position: center center !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.team-hero .svc-hero-image--original-team::after {
  background: linear-gradient(90deg, rgba(0,47,97,.995) 0%, rgba(0,47,97,.97) 28%, rgba(0,47,97,.86) 42%, rgba(0,47,97,.58) 55%, rgba(0,47,97,.2) 68%, rgba(0,47,97,.02) 84%) !important;
}

@media (max-width: 640px) {
  .hero-image--original-team img,
  .svc-hero-image--original-team img {
    object-position: 60% center !important;
  }

  .home-page .hero-image--original-team img {
    object-position: center center !important;
  }

  .home-page .hero-image--original-team .hero-image-badge {
    bottom: 6px;
    left: 6px;
    font-size: 8px;
  }
}

/* Schmaler Sommerzeiten-Ticker am Beginn jedes Hero-Bereichs. */
#summerHoursNotice {
  display: none !important;
}

.hero-hours-ticker {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffd200;
  color: #08284d;
  box-shadow: none;
  font-family: "Roboto Mono", "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: .035em;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.78) 5%, #000 11%, #000 89%, rgba(0,0,0,.78) 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.78) 5%, #000 11%, #000 89%, rgba(0,0,0,.78) 95%, transparent 100%);
}

.hero-hours-ticker__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-hours-ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: fiethen-hours-ticker 42s linear infinite;
  will-change: transform;
}

.hero-hours-ticker__item {
  flex: none;
  padding: 0 34px;
}

.hero-hours-ticker:hover .hero-hours-ticker__track {
  animation-play-state: paused;
}

.booking-hero.has-hours-ticker .booking-hero-inner,
.legal-hero.has-hours-ticker > .container {
  padding-top: 72px !important;
}

@keyframes fiethen-hours-ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .services-hub-page .nav-wrap .nav-menu,
  .services-hub-page .nav-wrap .nav-cta {
    display: none !important;
  }

  .services-hub-page .nav-wrap .hub-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 800px) {
  .hero-hours-ticker {
    width: 100%;
    height: 36px;
    line-height: 36px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }

  .hero-hours-ticker__track {
    animation-duration: 46s;
  }

  .hero-hours-ticker__item {
    padding-inline: 26px;
  }

  .hero.has-hours-ticker .hero-grid > div:first-child,
  .svc-hero.has-hours-ticker .svc-hero-grid > div:first-child {
    padding-top: 62px;
  }

  .booking-hero.has-hours-ticker .booking-hero-inner,
  .legal-hero.has-hours-ticker > .container {
    padding-top: 62px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hours-ticker__viewport {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .hero-hours-ticker__track {
    animation: none;
    will-change: auto;
  }

  .hero-hours-ticker__item[aria-hidden="true"],
  .hero-hours-ticker__item + .hero-hours-ticker__item {
    display: none;
  }
}

.svc-hero::after,
.hero::after,
.booking-hero::after {
  content: none !important;
  display: none !important;
}

.btn,
.button,
.nav-cta,
.header-cta,
.mobile-menu-cta,
.mobile-quick-termin {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease,
    box-shadow .22s ease, transform .22s cubic-bezier(.2,.8,.2,1) !important;
}

@media (hover: hover) {
  .btn-yellow:hover,
  .button:hover,
  .nav-cta:hover,
  .header-cta:hover,
  .mobile-menu-cta:hover,
  .mobile-quick-termin:hover {
    background: #004289 !important;
    border-color: #004289 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(0,47,97,.24) !important;
    transform: translateY(-3px) !important;
    animation-play-state: paused !important;
  }

  .btn-blue:hover {
    background: #ffd200 !important;
    border-color: #ffd200 !important;
    color: #1a2230 !important;
    box-shadow: 0 12px 26px rgba(255,210,0,.25) !important;
    transform: translateY(-3px) !important;
  }
}

.btn-yellow:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
.header-cta:focus-visible,
.mobile-menu-cta:focus-visible,
.mobile-quick-termin:focus-visible {
  background: #004289 !important;
  border-color: #004289 !important;
  color: #fff !important;
  outline: 3px solid rgba(255,210,0,.48) !important;
  outline-offset: 3px !important;
}

.btn-blue:focus-visible {
  background: #ffd200 !important;
  border-color: #ffd200 !important;
  color: #1a2230 !important;
  outline: 3px solid rgba(0,66,137,.3) !important;
  outline-offset: 3px !important;
}

/* Der Termin-Button in der rechten Kontaktleiste bleibt farbig, aber ruhig. */
.quick-contact .quick-item--appointment {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .button,
  .nav-cta,
  .header-cta,
  .mobile-menu-cta,
  .mobile-quick-termin {
    transition: none !important;
  }
}

/* Ruhige Partner-Zone auf der Startseite */
.partners-section {
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 clamp(40px, 3.5vw, 46px);
  border-top: 1px solid #d7dfeb;
  border-bottom: 1px solid #d7dfeb;
  background: #fff;
}

.partners-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 3.5vw, 42px);
}

.partners-head .section-eyebrow {
  margin-bottom: 10px;
  color: #004289;
}

.partners-head .section-title {
  margin-bottom: 0;
}

.partners-head .section-title em {
  color: #004289;
  font-style: italic;
}

.partners-head > p {
  max-width: 560px;
  margin: 0 0 5px;
  color: #536074;
  font-size: 17px;
  line-height: 1.65;
}

.partner-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: fiethen-partner-scroll 105s linear infinite;
  will-change: transform;
}

.partner-set {
  display: flex;
  flex: none;
  gap: 16px;
  padding-right: 16px;
}

.partner-card {
  display: grid;
  place-items: center;
  flex: 0 0 148px;
  width: 148px;
  height: 108px;
  margin: 0;
  border: 1px solid #d7dfeb;
  background: #f7f9fc;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.partner-card img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: grayscale(1) saturate(0);
  opacity: .48;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-card:hover {
  z-index: 1;
  border-color: #004289;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 66, 137, .13);
  transform: translateY(-3px);
}

.partner-card:hover img {
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes fiethen-partner-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 800px) {
  .partners-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .partners-head > p {
    font-size: 16px;
  }

  .partner-card {
    flex-basis: 122px;
    width: 122px;
    height: 92px;
  }

  .partner-card img {
    width: 72px;
    height: 72px;
  }

  .partner-track {
    animation-duration: 88s;
  }
}

@media (hover: none) {
  .partner-card img {
    filter: grayscale(.72) saturate(.35);
    opacity: .72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .partner-track {
    animation: none;
    will-change: auto;
  }

  .partner-set[aria-hidden="true"] {
    display: none;
  }
}

/* Einheitlicher Footer auf allen Seiten */
.global-footer {
  box-sizing: border-box;
  padding: 64px 0 28px !important;
  background: #1a2331 !important;
  color: rgba(255,255,255,.7) !important;
  font-family: Manrope, Arial, sans-serif;
}

.global-footer *,
.global-footer *::before,
.global-footer *::after {
  box-sizing: border-box;
}

.global-footer .container {
  width: min(1216px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.global-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) minmax(225px, 1.15fr) minmax(190px, 1fr) !important;
  gap: clamp(30px, 4vw, 48px) !important;
  margin: 0 0 48px !important;
}

.global-footer .footer-brand-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

.global-footer .footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: 6px 8px !important;
  border-radius: 5px !important;
  background: #fff !important;
  line-height: 0 !important;
}

.global-footer .footer-logo img {
  display: block !important;
  width: auto !important;
  height: 40px !important;
  max-width: 100% !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

.global-footer .footer-tagline {
  max-width: 360px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.64) !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}

.global-footer .footer-tagline strong {
  color: #ffd200 !important;
  font-style: italic !important;
  font-weight: 700 !important;
}

.global-footer .footer-social {
  display: flex !important;
  gap: 12px !important;
}

.global-footer .footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  transition: color .2s ease, background-color .2s ease, transform .2s ease !important;
}

.global-footer .footer-social a:hover,
.global-footer .footer-social a:focus-visible {
  background: #ffd200 !important;
  color: #1a2331 !important;
  transform: translateY(-2px) !important;
}

.global-footer .footer-social svg {
  width: 17px !important;
  height: 17px !important;
}

.global-footer .footer-col h5 {
  margin: 0 0 18px !important;
  color: #ffd200 !important;
  font-family: "Roboto Mono", monospace !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.global-footer .footer-col ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.global-footer .footer-col li {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.7) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.global-footer a {
  color: inherit !important;
  text-decoration: none !important;
}

.global-footer .footer-col a:hover,
.global-footer .footer-col a:focus-visible,
.global-footer .footer-bottom a:hover,
.global-footer .footer-bottom a:focus-visible {
  color: #ffd200 !important;
}

.global-footer .footer-col strong {
  color: #fff !important;
  font-weight: 700 !important;
}

.global-footer .footer-contact-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
}

.global-footer .footer-contact-row svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
  margin-top: 4px !important;
  color: #ffd200 !important;
}

.global-footer .footer-hours {
  max-width: 280px !important;
}

.global-footer .footer-hours-note {
  display: inline-block !important;
  margin: -2px 0 10px !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(255,210,0,.28) !important;
  border-radius: 4px !important;
  background: rgba(255,210,0,.1) !important;
  color: #ffd200 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.global-footer .footer-hours dl {
  margin: 0 !important;
}

.global-footer .footer-hours dl > div {
  display: grid !important;
  grid-template-columns: 78px 1fr !important;
  gap: 8px !important;
  padding: 7px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  font-size: 15px !important;
}

.global-footer .footer-hours dt {
  color: rgba(255,255,255,.6) !important;
}

.global-footer .footer-hours dd {
  margin: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.global-footer .footer-hours-meta {
  margin: 12px 0 0 !important;
  color: rgba(255,255,255,.68) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.global-footer .footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
  margin: 0 !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  color: rgba(255,255,255,.48) !important;
  font-family: "Roboto Mono", monospace !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.global-footer .footer-credit {
  color: rgba(255,255,255,.58) !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

.global-footer .footer-credit a,
.global-footer .footer-credit .heart {
  color: #ffd200 !important;
  font-weight: 700 !important;
}

.global-footer .footer-bottom-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
}

@media (max-width: 1024px) {
  .global-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .global-footer {
    padding: 48px 0 96px !important;
  }

  .global-footer .container {
    width: min(100% - 40px, 1216px) !important;
  }

  .global-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 36px !important;
  }

  .global-footer .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .global-footer .footer-logo img {
    height: 36px !important;
  }
}

/*
 * Gemeinsames Responsive-System
 * Desktop-Hero mit Bildüberlagerung nur, solange Text, Navigation und Motiv
 * wirklich nebeneinander Platz haben. Schmale Desktops und Tablets erhalten
 * eine klare Text-über-Bild-Anordnung ohne Überschneidungen.
 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Desktop navigation: keep the services label and chevron on one baseline. */
.nav-menu .has-sub > a,
.services-hub-page .has-sub > a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.nav-menu .has-sub > a::after,
.services-hub-page .has-sub > a::after {
  content: "" !important;
  display: block !important;
  width: 7px;
  height: 7px;
  margin: -4px 1px 0 0 !important;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: #6b7488;
  transform: rotate(45deg);
  flex: 0 0 7px;
}

img,
picture,
video,
iframe {
  max-width: 100%;
}

.services-hub-page .hub-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border: 0;
  border-radius: 4px;
  background: #1a2230;
  color: #fff;
}

.services-hub-page .hub-menu-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.services-hub-page .hub-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  overflow-y: auto;
  padding: 22px;
  background: #fff;
  color: #1a2230;
}

.services-hub-page .hub-mobile-menu.open {
  display: block;
}

.services-hub-page .hub-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce2ec;
}

.services-hub-page .hub-mobile-menu-head img {
  width: min(235px, calc(100% - 64px));
}

.services-hub-page .hub-mobile-menu-head button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 4px;
  background: #1a2230;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.services-hub-page .hub-mobile-menu nav {
  display: grid;
  margin-top: 16px;
}

.services-hub-page .hub-mobile-menu nav a {
  padding: 13px 4px;
  border-bottom: 1px solid #dce2ec;
  font-size: 17px;
  font-weight: 800;
}

.services-hub-page .hub-mobile-menu nav a[aria-current="page"] {
  color: #004289;
}

.services-hub-page .hub-mobile-menu .hub-mobile-menu-cta {
  margin-top: 16px;
  padding: 14px 18px;
  border: 0;
  background: #ffd200;
  color: #1a2230;
  text-align: center;
}

@media (max-width: 1180px) {
  /* Startseite besitzt einen eigenen kompakten Header. */
  .home-page > .topbar,
  .home-page > .nav-wrap {
    display: none !important;
  }

  .home-page > .mob-header {
    display: block !important;
  }

  .home-page > .mob-header .mob-header-row2 {
    display: none;
  }

  /* Leistungs-Unterseiten: Navigation rechtzeitig auf Menübutton umstellen. */
  body:not(.home-page):not(.services-hub-page) .nav-wrap .nav-menu {
    display: none !important;
  }

  body:not(.home-page):not(.services-hub-page) .nav-wrap .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  body:not(.home-page):not(.services-hub-page) .nav-wrap .nav-cta {
    margin-left: auto;
  }

  /* Startseiten-Hero und Leistungs-Hub: Text und Bild werden getrennt. */
  .home-page .hero,
  .services-hub-page .hero {
    min-height: 0 !important;
    padding: 0 0 48px !important;
  }

  .home-page .hero .hero-grid,
  .services-hub-page .hero > .w {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    min-height: 0 !important;
  }

  .home-page .hero .hero-grid > div:first-child,
  .services-hub-page .hero > .w > div:first-child {
    width: 100% !important;
    max-width: 760px;
    padding: 72px 0 38px !important;
  }

  .home-page .hero .hero-image,
  .services-hub-page .hero .hero-photo {
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    left: auto !important;
    order: 2;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2 / 1 !important;
  }

  .home-page .hero .hero-image::after,
  .services-hub-page .hero .hero-photo::after {
    background: linear-gradient(0deg, rgba(0,47,97,.38), rgba(0,47,97,.03)) !important;
  }

  /* Alle Leistungs- und Team-Heroes folgen demselben Aufbau. */
  .svc-hero {
    min-height: 0 !important;
    padding: 0 0 48px !important;
  }

  .svc-hero .svc-hero-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    min-height: 0 !important;
  }

  .svc-hero .svc-hero-grid > div:first-child {
    width: 100% !important;
    max-width: 780px;
    padding: 72px 0 38px !important;
  }

  .svc-hero .svc-hero-image {
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    left: auto !important;
    order: 2;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2 / 1 !important;
  }

  .svc-hero .svc-hero-image::after {
    background: linear-gradient(0deg, rgba(0,47,97,.38), rgba(0,47,97,.03)) !important;
  }

  .svc-hero .svc-hero-image img {
    object-fit: cover !important;
  }

  .team-hero .svc-hero-image {
    left: auto !important;
  }

  .partners-head,
  .services-hub-page .intro-grid,
  .services-hub-page .local-grid,
  .services-hub-page .map-grid {
    grid-template-columns: 1fr !important;
  }

  .services-hub-page .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 800px) {
  .home-page > .mob-header .mob-header-row2 {
    display: block;
  }

  .home-page .hero .hero-grid > div:first-child,
  .services-hub-page .hero > .w > div:first-child,
  .svc-hero .svc-hero-grid > div:first-child {
    max-width: none;
    padding: 62px 0 32px !important;
  }

  .home-page .hero .hero-image,
  .services-hub-page .hero .hero-photo,
  .svc-hero .svc-hero-image {
    aspect-ratio: 16 / 10 !important;
  }

  .services-hub-page .grid,
  .services-hub-page .region-blurbs {
    grid-template-columns: 1fr !important;
  }

  .services-hub-page .head {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 560px) {
  .home-page .hero,
  .services-hub-page .hero,
  .svc-hero {
    padding-bottom: 36px !important;
  }

  .home-page .hero .hero-grid > div:first-child,
  .services-hub-page .hero > .w > div:first-child,
  .svc-hero .svc-hero-grid > div:first-child {
    padding: 58px 0 28px !important;
  }

  .home-page .hero h1,
  .svc-hero h1 {
    overflow-wrap: anywhere;
  }

  .services-hub-page .hero h1 {
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-page .hero .hero-image img {
    object-fit: cover !important;
    object-position: 60% center !important;
  }

  .home-page .spotlight {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .spotlight > * {
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .home-page .hero h1 em,
  .services-hub-page .hero h1 em,
  .svc-hero h1 em {
    display: inline-block;
    font-size: .9em;
    white-space: nowrap;
  }
}
