/*
 * TRONA Startseite – Querbanner V03
 * Bannerhoehe gegenueber V02 halbiert.
 * Eigene Datei mit neuer Versionskennung, damit Browser und STRATO nicht
 * versehentlich die alte Banner-Gestaltung aus dem Cache verwenden.
 */

.feature-strip-section {
  width: 100%;
  padding: 15px 0;
  background:
    radial-gradient(circle at 50% 0, rgb(255 255 255 / 5%), transparent 48%),
    var(--deep);
}

.feature-strip-section .feature-strip {
  width: min(calc(100% - 48px), 1320px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-strip-section .feature-panel {
  position: relative;
  min-height: 175px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background-color: var(--dark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 14px 32px rgb(0 0 0 / 24%);
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.feature-strip-section .feature-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgb(0 32 25 / 90%) 0%,
      rgb(0 32 25 / 62%) 48%,
      rgb(0 32 25 / 12%) 100%
    ),
    linear-gradient(0deg, rgb(0 20 16 / 60%), transparent 66%);
}

.feature-strip-section .feature-panel-sales {
  background-image: url("assets/images/03_Pferde_Weide.jpg");
  background-position: center 55%;
}

.feature-strip-section .feature-panel-team {
  background-image: url("assets/images/02_Rehabilitation_Wald.jpg");
  background-position: center 44%;
}

.feature-strip-section .feature-panel-content {
  width: min(78%, 520px);
  padding: 18px 22px;
  color: #fff;
  text-shadow: 0 2px 14px rgb(0 0 0 / 45%);
}

.feature-strip-section .feature-panel-content small,
.feature-strip-section .feature-panel-content strong,
.feature-strip-section .feature-panel-description,
.feature-strip-section .feature-panel-content b {
  display: block;
}

.feature-strip-section .feature-panel-content small {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-strip-section .feature-panel-content strong {
  color: #fff;
  font:
    clamp(1.55rem, 2.7vw, 2.35rem) / 1.03 Georgia,
    "Times New Roman",
    serif;
}

.feature-strip-section .feature-panel-description {
  max-width: 390px;
  margin-top: 6px;
  color: rgb(255 255 255 / 90%);
  font-size: 0.84rem;
  line-height: 1.3;
}

.feature-strip-section .feature-panel-content b {
  width: fit-content;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 4px;
  background: rgb(0 32 25 / 42%);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-strip-section .feature-panel-content b span {
  margin-left: 7px;
  color: #fff;
  font-size: 1.1rem;
}

.feature-strip-section .feature-panel:hover {
  box-shadow: 0 18px 42px rgb(0 0 0 / 34%);
  transform: translateY(-4px);
}

.feature-strip-section .feature-panel:focus-visible {
  outline: 4px solid var(--red);
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .feature-strip-section .feature-strip {
    width: min(calc(100% - 32px), 1320px);
  }

  .feature-strip-section .feature-panel {
    min-height: 155px;
  }

  .feature-strip-section .feature-panel-content {
    width: min(88%, 500px);
    padding: 16px 20px;
  }
}

@media (max-width: 680px) {
  .feature-strip-section {
    padding: 9px 0;
  }

  .feature-strip-section .feature-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-strip-section .feature-panel {
    min-height: 135px;
  }

  .feature-strip-section .feature-panel-content {
    width: 100%;
    padding: 14px 18px;
  }

  .feature-strip-section .feature-panel-content strong {
    font-size: clamp(1.45rem, 8vw, 2.15rem);
  }

  .feature-strip-section .feature-panel-description {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-strip-section .feature-panel {
    transition: none;
  }
}
