/* Travego-only shared promos and reliable mobile fixed header. */
@media (max-width: 768px) {
  body .travego-header-shell.travego-header-fixed {
    position: fixed !important;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 5000 !important;
    background: white;
    box-shadow: 0 3px 14px rgba(21, 30, 45, .09);
    transform: none !important;
  }
  body .travego-header-spacer { display: block; width: 100%; }
}
@media (min-width: 769px) {
  /* Match the mobile fixed header on desktop, including its layout spacer. */
  body .travego-header-shell.travego-header-fixed {
    position: fixed !important;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 5000 !important;
    background: #fff;
    box-shadow: 0 3px 14px rgba(21, 30, 45, .09);
    transform: none !important;
  }
  body .travego-header-spacer { display: block !important; width: 100%; }
}
.travego-promo-sections { margin: 54px auto 36px; padding: 0 24px; max-width: 1420px; box-sizing: border-box; }
.travego-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.travego-promo-card {
  display: grid; grid-template-columns: 36% minmax(0,1fr); align-items: stretch;
  overflow: hidden; border-radius: 22px; min-height: 280px;
  background: #fff8f5; border: 1px solid #eee1dc;
  box-shadow: 0 15px 36px rgba(58,34,34,.07);
}
.travego-promo-newsletter { background: #f6f7ee; }
.travego-promo-photo { background-size: cover; background-repeat: no-repeat; }
.travego-promo-photo-advice { background-image: url('/brand/travego-design-c/promos/beratung-hd.webp'); background-position: center top; }
.travego-promo-photo-family { background-image: url('/brand/travego-design-c/promos/familie-hd.webp'); background-position: 47% center; }
.travego-promo-body { padding: clamp(20px,2.5vw,36px) clamp(18px,2.3vw,32px); align-self: center; min-width: 0; }
.travego-promo-eyebrow { font: 700 11px/1.4 'Segoe UI',Arial,sans-serif; letter-spacing: .17em; color: #923031; }
.travego-promo-body h2 { margin: 10px 0 10px; font-size: clamp(23px,2.1vw,32px); line-height: 1.12; color: #172033; }
.travego-promo-body > p { margin: 0 0 17px; font-size: 14px; line-height: 1.58; color: #3b4350; }
.travego-promo-button { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 12px 16px; box-sizing: border-box; border-radius: 28px; background:#993333; color: white !important; text-decoration: none; font: 700 14px/1.3 'Segoe UI',Arial,sans-serif; white-space: normal; }
.travego-promo-button:hover, .travego-promo-button:focus-visible { background:#772727; }
.travego-promo-body .travego-promo-note { font: 12px/1.5 'Segoe UI',Arial,sans-serif; margin: 12px 0 0; color:#5b5e67; }
.travego-promo-note a { color:#8e292c; text-decoration: underline; }
@media (max-width: 1050px) {
  .travego-promo-grid { grid-template-columns: 1fr; }
  .travego-promo-card { min-height: 245px; }
}
@media (max-width: 600px) {
  .travego-promo-sections { margin: 36px auto 25px; padding: 0 14px; }
  .travego-promo-grid { gap: 16px; }
  .travego-promo-card { grid-template-columns: minmax(0,1fr); }
  .travego-promo-photo { height: 190px; background-size: cover; }
  .travego-promo-photo-advice { background-position: center 24%; }
  .travego-promo-photo-family { background-position: center 38%; }
  .travego-promo-body { padding: 22px 22px 26px; }
}

/* Sticky navigation only: the mobile search row belongs to normal page flow.
   The shell also hosts the search, so fixing the shell would pin both rows. */
body .travego-header-shell {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
body .travego-header-shell .travego-header.travego-header-fixed {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 5000 !important;
  background: #fff;
  box-shadow: 0 3px 14px rgba(21,30,45,.09);
  transform: none !important;
}
body .travego-header-shell .travego-header-spacer {
  display: block !important;
  width: 100%;
}

/* Home and travel categories/mobile: navigation outranks hero images, cards and sliders.
   The search remains in normal flow; only .travego-header is fixed by JS. */
@media (max-width: 768px) {
  body.travego-design-c-home .travego-header-shell,
  body.travego-design-c-category .travego-header-shell,
  body.travego-design-c-last-minute .travego-header-shell {
    position: relative !important;
    z-index: 200000 !important;
    isolation: isolate;
    overflow: visible !important;
    transform: none !important;
  }
  body.travego-design-c-home .travego-header-shell .travego-header.travego-header-fixed,
  body.travego-design-c-category .travego-header-shell .travego-header.travego-header-fixed,
  body.travego-design-c-last-minute .travego-header-shell .travego-header.travego-header-fixed {
    position: fixed !important;
    z-index: 200001 !important;
  }
}
