/* =============================================================================
   DESTINATION — Hub-Seiten (Asien, Himalaya …) & Länder-Landingpages (Japan, Vietnam …)
   ============================================================================= */
@import url('reise-detail.css');


/* =============================================================================
   DEST-HERO
   ============================================================================= */
.dest-hero {
  position: relative;
  min-height: clamp(340px, 56vh, 620px);
  display: flex;
  align-items: flex-end;
  background: var(--color-brand-primary-800);
  background-size: cover;
  background-position: center;
  /* Backdrop-Root fuer den Unschaerfe-Verlauf unten */
  isolation: isolate;
}

/*
 * Unschaerfe-Verlauf, gleiches Prinzip wie .rd-hero (reise-detail.css).
 * z-index 1 = Unschaerfe, 2 = Farbe, 3 = Inhalt — ausdruecklich, weil ein
 * Pseudo-Element sonst der DOM-Reihenfolge folgt und ueber dem Overlay-Div
 * statt darunter laege. Inhalt steht unten, die Rampe also von unten.
 */
.dest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(1rem);
  backdrop-filter: blur(1rem);
  -webkit-mask-image: linear-gradient(to top,
    rgba(0, 0, 0, 1)   0%,
    rgba(0, 0, 0, 1)   18%,
    rgba(0, 0, 0, .45) 34%,
    transparent        52%);
  mask-image: linear-gradient(to top,
    rgba(0, 0, 0, 1)   0%,
    rgba(0, 0, 0, 1)   18%,
    rgba(0, 0, 0, .45) 34%,
    transparent        52%);
}
/* Ein einziger linearer Verlauf von unten, deckungsgleich mit der Unschaerfe-
   Maske darunter (gleiche Stops wie .rd-hero in reise-detail.css). Die obere
   Bildhaelfte bleibt frei, unten traegt eine neutrale Schwarzlage den Kontrast,
   die Regionsfarbe bleibt Toenung. Der fruehere diagonale Anteil ist weg. */
.dest-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Markenfarbe zuoberst — Farbkodierung. */
    linear-gradient(180deg,
      transparent 40%,
      color-mix(in srgb, var(--ir-region-primary-dark, var(--color-brand-primary-700)) 50%, transparent) 72%,
      color-mix(in srgb, var(--ir-region-primary-dark, var(--color-brand-primary-700)) 70%, transparent) 100%),
    /* neutrale Lage darunter — Kontrast */
    linear-gradient(180deg,
      transparent 40%,
      rgba(0, 0, 0, .20) 72%,
      rgba(0, 0, 0, .60) 100%);
}
.dest-hero__inner {
  position: relative;
  z-index: 3;
  padding-top: 3rem;
  padding-bottom: clamp(2.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Breadcrumb */
.dest-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .4rem;
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .65);
}
.dest-hero__crumb a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.dest-hero__crumb a:hover { color: #fff; }
.dest-hero__crumb span[aria-hidden] { opacity: .4; }

/* Title */
.dest-hero__title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  font-variation-settings: "opsz" 96;
}

/* Sub (hub only) */
.dest-hero__sub {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .8);
  max-width: 52ch;
  line-height: 1.6;
  margin: 0;
}

/* Country pills (hub nav) */
.dest-hero__countries {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.dest-hero__country-pill {
  padding: .45rem 1rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--border-radius-round);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .08);
  transition: background .2s, border-color .2s, color .2s;
}
.dest-hero__country-pill:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}


/* =============================================================================
   SECTION BASE
   ============================================================================= */
.section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}


/* =============================================================================
   DEST-COUNTRIES (Hub: Länder-Grid)
   ============================================================================= */
.dest-countries { background: var(--warm-white); }

.dest-countries__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: .5rem 0 2.5rem;
  font-variation-settings: "opsz" 72;
}

.dest-countries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* Country Card */
.dest-country-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  transition: transform .38s var(--ease), box-shadow .38s;
}
.dest-country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px -22px rgba(14, 74, 77, .35);
}

.dest-country-card__img {
  aspect-ratio: 4/3;
  background: var(--color-brand-primary-500);
  background-size: cover;
  background-position: center;
  transition: transform .55s var(--ease);
}
.dest-country-card:hover .dest-country-card__img { transform: scale(1.05); }

.dest-country-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.dest-country-card__title {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600);
  margin: 0;
  line-height: 1.15;
  font-variation-settings: "opsz" 48;
}

.dest-country-card__count {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand-primary-500);
  white-space: nowrap;
  flex-shrink: 0;
}


/* =============================================================================
   DEST-TRIPS (Reisen-Grid — beide Layouts)
   ============================================================================= */
.dest-trips { background: var(--color-brand-tertiary-200); }

.dest-trips__head {
  margin-bottom: 2.5rem;
}

.dest-trips__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: .5rem 0 0;
  font-variation-settings: "opsz" 72;
}

.dest-trips__all {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-primary-500);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s;
}
.dest-trips__all:hover { color: var(--color-brand-secondary-500); }
.dest-trips__all svg { transition: transform .2s; }
.dest-trips__all:hover svg { transform: translateX(3px); }

.dest-trips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.dest-trips__more {
  margin-top: 2.5rem;
  text-align: center;
}


/* =============================================================================
   TRIP-CARD (Reuse-Komponente)
   ============================================================================= */
.trip-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .38s var(--ease), box-shadow .38s;
}
.trip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px -22px rgba(14, 74, 77, .4);
}

.trip-card__img-link { display: block; }

.trip-card__img {
  aspect-ratio: 5/4;
  background: var(--color-brand-primary-500);
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .55s var(--ease);
}
.trip-card:hover .trip-card__img { transform: scale(1.04); }

.trip-card__days {
  position: absolute;
  bottom: .9rem;
  right: .9rem;
  font-size: 0.625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  color: var(--ink);
  background: var(--color-brand-secondary-500);
  padding: .3rem .6rem;
  border-radius: var(--border-radius-tiny);
}

.trip-card__body {
  padding: 1.3rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.trip-card__title {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600);
  margin: 0;
  line-height: 1.2;
  font-variation-settings: "opsz" 48;
}
.trip-card__title a {
  color: inherit;
  text-decoration: none;
}
.trip-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trip-card__excerpt {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trip-card__foot {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--hair-soft);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.trip-card__price {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.3;
}
.trip-card__price strong {
  display: block;
  font-size: .97rem;
  color: var(--color-brand-primary-600);
  font-weight: var(--font-weight-semibold);
}

.trip-card__art {
  font-size: 0.625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}




/* =============================================================================
   BTN (Outline — "Alle Reisen entdecken")
   ============================================================================= */
.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  border: 1.5px solid var(--color-brand-primary-500);
  border-radius: var(--border-radius-round);
  font-size: .72rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand-primary-500);
  text-decoration: none;
  transition: background .22s, color .22s;
}
.btn--outline:hover {
  background: var(--color-brand-primary-500);
  color: #fff;
}


/* =============================================================================
   DEST-OVERVIEW (Überblick — analog rg-info, mit Slider-Option)
   ============================================================================= */
.dest-overview { background: var(--theme-bg-page); }

.dest-overview__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.dest-overview__layout--no-media {
  grid-template-columns: minmax(0, 720px);
}

.dest-overview__head { margin-bottom: 1.5rem; }

.dest-overview__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: var(--font-weight-regular);
  color: var(--theme-text-heading);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: .5rem 0 0;
  font-variation-settings: "opsz" 72;
}

.dest-overview__wysiwyg p {
  font-size: clamp(.95rem, 1vw, 1.02rem);
  line-height: 1.75;
  color: var(--theme-text-body);
  margin: 0 0 1em;
}
.dest-overview__wysiwyg p:last-child { margin-bottom: 0; }

/* ── Media-Spalte (Einzelbild) ── */
.dest-overview__media { position: relative; }

.dest-overview__media-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r);
  background-size: cover;
  background-position: center;
}

.dest-overview__media-mini {
  position: absolute;
  bottom: -1.75rem;
  left: -1.75rem;
  width: 46%;
  aspect-ratio: 1/1;
  border-radius: var(--r);
  background-size: cover;
  background-position: center;
  border: 4px solid var(--theme-bg-page);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, .22);
}

/* ── Media-Spalte (Slider) ── */
/* Slider im Überblick — Komponente .rd-slider aus reise-detail.css.
   Hier nur das Format: die Destinationsseite zeigt Hochformat 4/5, die
   Reisedetailseite 4/3. Der Slider selbst füllt die Fläche absolut, weil
   .rd-slider sonst die Höhe seines Inhalts annimmt (dieselbe Korrektur wie in
   ayurveda-detail.css für die Resort-Spalte). */
.dest-overview__slider .rd-stage__media {
  aspect-ratio: 4/5;
  position: relative;
}
.dest-overview__slider .rd-stage__media .rd-slider {
  position: absolute; inset: 0; height: auto;
}


/* =============================================================================
   DEST-TRIPS — 4-Spalten-Modifier
   ============================================================================= */
.dest-trips__sub {
  font-size: clamp(.95rem, 1vw, 1.05rem);
  color: var(--theme-text-muted);
  margin: .4rem 0 0;
}
.dest-trips__copy {
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.65;
  color: var(--theme-text-body);
  max-width: 62ch;
  margin: .75rem 0 0;
}
.dest-trips__grid--4col { grid-template-columns: repeat(4, 1fr); }

/* ── Reiseinfo-Intro ── */
.rd-reiseinfo__intro {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--theme-text-body);
  margin-bottom: 1.75rem;
}
.rd-reiseinfo__intro p { margin: 0 0 .8em; }
.rd-reiseinfo__intro p:last-child { margin-bottom: 0; }


/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1200px) {
  .dest-trips__grid--4col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .dest-countries__grid { grid-template-columns: repeat(3, 1fr); }
  .dest-overview__layout { grid-template-columns: 1fr; }
  .dest-overview__media-mini { bottom: 1rem; left: auto; right: -1rem; }
}

@media (max-width: 860px) {
  .dest-trips__grid,
  .dest-trips__grid--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  .dest-countries__grid { grid-template-columns: repeat(2, 1fr); }
  .dest-hero__country-pill { font-size: .7rem; padding: .4rem .85rem; }
}

@media (max-width: 480px) {
  .dest-trips__grid,
  .dest-trips__grid--4col { grid-template-columns: 1fr; }
}
