/* ===================================================================
 * Schmaler Banner für PeakTrace
 *
 * Die Farben stammen aus der App (lib/core/theme/app_colors.dart) – ein
 * eigenständiges Produkt soll auch so aussehen. Radien, Schatten und
 * Übergänge folgen dem Designsystem der Website, damit der Banner nicht
 * wie ein eingeklebtes Fremdelement wirkt.
 * =================================================================== */

:root {
  --pt-sage: #8eafb4;
  --pt-slate: #445f67;
  --pt-petrol: #2a4550;
  --pt-charcoal: #1d2b31;
}

/* Eigener weißer Abschnitt – sonst scheint das Beige der Seite durch.
   Darunter folgt das ebenfalls weiße Anfrageformular. */
.peaktrace-section {
  background-color: var(--background-white);
  padding: 2rem 0;
}

/* Abstand kommt vom Abschnitt – ein Außenabstand am Banner ragte sonst
   aus dem weißen Abschnitt heraus und ließ oben und unten Beige stehen */
.peaktrace-section .peaktrace-banner {
  margin: 0;
}

.peaktrace-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 2rem 0;
  padding: 19px 26px;
  background: linear-gradient(105deg, var(--pt-charcoal) 0%, var(--pt-petrol) 62%, #2f4f5c 100%);
}

/* Bergsilhouette als leises Motiv am unteren Rand */
.peaktrace-berge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  opacity: 0.15;
}

.peaktrace-banner-inhalt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* --- Logo: Bildmarke und Schriftzug nebeneinander --- */

.peaktrace-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.peaktrace-bildmarke {
  height: 46px;
  width: auto;
  display: block;
}

.peaktrace-wortmarke {
  height: 13px;
  width: auto;
  display: block;
}

/* --- Text --- */

.peaktrace-text {
  flex: 1;
  min-width: 0;
}

.peaktrace-beschreibung {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.peaktrace-meta {
  color: var(--pt-sage);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* --- Store-Schaltflächen --- */

.peaktrace-stores {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}

.peaktrace-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--pt-charcoal);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-button-sm, 0.8rem);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.peaktrace-store-btn:hover {
  transform: translateY(-2px);
  background: var(--pt-sage);
  color: var(--pt-charcoal);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
}

.peaktrace-store-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Schmale Anzeigen: untereinander statt nebeneinander --- */

@media (max-width: 860px) {
  .peaktrace-banner-inhalt {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .peaktrace-stores {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .peaktrace-banner {
    padding: 16px 18px;
  }

  .peaktrace-store-btn {
    padding: 8px 13px;
    font-size: 0.75rem;
  }
}
