/* AUTOFINITY PREMIUM LIGHT V2.0 — style scoped to the component; no global theme changes. */
.af-hero,
.af-hero * { box-sizing: border-box; }
.af-hero {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(calc(100% - 32px), 1440px);
  min-height: 285px;
  margin: 12px auto 24px; border-radius: 16px;
  background: #faf9f6; color: #18191b;
  font-family: inherit;
}
.af-hero__image { position: absolute; z-index: -1; inset: 0; display: block; }
.af-hero__image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  object-position: 50% 50%;
}
.af-hero__content {
  position: relative; max-width: min(51%, 710px);
  padding: clamp(24px, 3vw, 46px) clamp(24px, 4vw, 60px);
}
.af-hero__breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  font-size: clamp(12px, 0.96vw, 14px); line-height: 1.45;
  font-weight: 600; color: #55575b;
}
.af-hero__breadcrumbs a { color: #8f6b33; text-decoration: none; }
.af-hero__breadcrumbs a:hover { text-decoration: underline; }
.af-hero__breadcrumbs a:focus-visible,
.af-hero__call:focus-visible {
  outline: 3px solid #8f6b33; outline-offset: 4px;
}
.af-hero__title {
  font-family: inherit; font-size: clamp(29px, 3.4vw, 49px);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.03em;
  margin: 14px 0 10px; color: #18191b;
  max-width: 800px; text-wrap: balance;
}
.af-hero__subtitle {
  font-family: inherit; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5;
  color: #4b4e52; margin: 0; max-width: 610px;
}
.af-hero__call {
  display: inline-flex; align-items: center;
  min-height: 42px; margin-top: 17px; padding: 9px 16px;
  border-radius: 9px; background: #191a1c; color: #fff !important;
  font-size: 14px; line-height: 1.4; text-decoration: none; font-weight: 700;
}
.af-hero__call:hover { background: #916d37; }
.af-hero--kontakt { min-height: 235px; }
.af-hero--marka { min-height: 205px; }
.af-hero--compact { min-height: 118px; background: #f7f5f1; border: 1px solid #eae4da; }
.af-hero--compact .af-hero__content { max-width: 100%; padding-top: 23px; padding-bottom: 22px; }
.af-hero--compact .af-hero__title { font-size: clamp(24px, 2.4vw, 34px); margin: 8px 0 0; }
@media (max-width: 767px) {
  .af-hero { width: calc(100% - 24px); margin: 9px auto 18px; min-height: 270px; border-radius: 13px; }
  .af-hero__content { max-width: 100%; padding: 17px 20px 18px; }
  .af-hero__image img { object-position: 50% 50%; }
  .af-hero__breadcrumbs { font-size: 12px; gap: 6px; }
  .af-hero__title { max-width: 95%; font-size: clamp(25px, 6.7vw, 33px); line-height: 1.13; margin: 12px 0 6px; }
  .af-hero__subtitle { max-width: 96%; font-size: 14px; line-height: 1.38; }
  .af-hero--kontakt { min-height: 282px; }
  .af-hero__call { margin-top: 12px; min-height: 42px; font-size: 13px; }
  .af-hero--marka { min-height: 270px; }
  .af-hero--compact { min-height: 100px; }
  .af-hero--compact .af-hero__content { padding: 16px 19px; }
  .af-hero--compact .af-hero__title { font-size: 25px; }
}
@media (max-width: 350px) {
  .af-hero__title { font-size: 24px; }
  .af-hero__content { padding-left: 15px; padding-right: 15px; }
  .af-hero__subtitle { font-size: 13px; }
}
