/* =============================================================================
   AYURVEDA-DETAIL — Seitenspezifische Styles
   Importiert reise-detail.css (→ index.css) für alle geteilten Komponenten.
   Neue Sections: Kur-Programme, Tagesablauf, Das Resort, Team, Saisonale Preise.
   ============================================================================= */
/* reise-detail.css wird via WP wp_enqueue_script geladen (dependency) */


/* =============================================================================
   KUR-PROGRAMME — 3-up Selector + Detail-Panel
   ============================================================================= */
.ay-progs { background: var(--color-brand-tertiary-200); overflow: hidden; }
.ay-progs__head { margin-bottom: 2.5rem; }
.ay-progs__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.05;
  letter-spacing: -.01em; margin: .8rem 0 0; color: var(--color-brand-primary-600);
  font-variation-settings: "opsz" 96;
}

/* Drei Selector-Karten */
.ay-prog-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.ay-prog-btn {
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r);
  padding: 1.75rem 1.6rem; cursor: pointer; text-align: left; font-family: var(--body);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.ay-prog-btn:hover { border-color: var(--color-brand-primary-500); transform: translateY(-2px); box-shadow: 0 12px 32px -20px rgba(14, 74, 77, .28); }
.ay-prog-btn.is-active { background: var(--color-brand-primary-600); border-color: var(--color-brand-primary-600); transform: none; }
.ay-prog-btn.is-active:hover { transform: none; }

/* Dauer-Badge — oben links, gleiche Optik wie .trip__days im Reisefinder */
.ay-prog-btn__days {
  font-size: 0.65625rem; letter-spacing: .14em; text-transform: uppercase; font-weight: var(--font-weight-semibold);
  color: var(--ink); background: var(--color-brand-secondary-500); padding: .35rem .65rem; border-radius: var(--border-radius-tiny);
}

.ay-prog-btn__name {
  font-family: var(--display); font-weight: var(--font-weight-regular); font-size: 1.4rem;
  color: var(--color-brand-primary-600); margin: 0; font-variation-settings: "opsz" 48;
  transition: color .25s;
}
.ay-prog-btn.is-active .ay-prog-btn__name { color: #fff; }

.ay-prog-btn__arrow {
  position: absolute; bottom: 1.25rem; right: 1.25rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(30, 110, 114, .1); display: grid; place-items: center;
  transition: background .25s;
}
.ay-prog-btn.is-active .ay-prog-btn__arrow { background: rgba(255,255,255,.15); }
.ay-prog-btn__arrow svg { width: 13px; height: 13px; color: var(--color-brand-primary-500); transition: color .25s; }
.ay-prog-btn.is-active .ay-prog-btn__arrow svg { color: #fff; }

/* Detail-Panel */
.ay-progs__panel {
  display: none; background: var(--paper);
  border: 1px solid var(--hair); border-radius: var(--r);
  padding: 2.5rem 2.75rem;
}
.ay-progs__panel.is-visible { display: block; }
.ay-progs__panel.is-entering { animation: ayPanelIn .4s var(--ease) both; }
@keyframes ayPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ay-panel__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

.ay-panel__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 0.65625rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-brand-secondary-600); font-weight: var(--font-weight-semibold); margin-bottom: .6rem;
}
.ay-panel__eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.ay-panel__name {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--color-brand-primary-600);
  margin: 0 0 1.2rem; font-variation-settings: "opsz" 96;
}
.ay-panel__desc { font-size: .97rem; line-height: 1.72; color: var(--ink-soft); margin: 0 0 .9rem; max-width: 52ch; }

.ay-panel__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.ay-panel__tag {
  padding: .3rem .85rem; background: var(--color-brand-tertiary-200); border-radius: var(--border-radius-round);
  font-size: 0.71875rem; color: var(--ink-soft); font-weight: var(--font-weight-medium);
}

.ay-panel__label {
  font-size: 0.625rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: var(--font-weight-medium); margin-bottom: .85rem; display: block;
}
.ay-panel__traits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ay-panel__traits li { display: flex; gap: .65rem; font-size: .93rem; line-height: 1.5; color: var(--ink-soft); }
.ay-panel__traits svg { width: 15px; height: 15px; color: var(--color-brand-secondary-600); flex-shrink: 0; margin-top: .15rem; }


/* =============================================================================
   TYPISCHER TAG — Intro + Vertikale Timeline
   ============================================================================= */
.ay-flow { background: var(--warm-white); }
.ay-flow__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start;
}
.ay-flow__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.01em;
  margin: .85rem 0 1.2rem; color: var(--color-brand-primary-600); font-variation-settings: "opsz" 96;
}
.ay-flow__text { font-size: .97rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 1rem; max-width: 44ch; }
.ay-flow__callout {
  margin-top: 1.8rem; padding: 1.2rem 1.4rem;
  background: var(--color-brand-tertiary-200); border-left: 3px solid var(--color-brand-secondary-500);
  border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
  font-size: .9rem; line-height: 1.6; color: var(--ink-soft);
}
.ay-flow__callout strong { color: var(--color-brand-primary-600); display: block; margin-bottom: .15rem; }

/* Timeline */
.ay-timeline { position: relative; padding-left: 4rem; }
.ay-timeline::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.8rem; bottom: 1.8rem; width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--hair) 5%, var(--hair) 95%, transparent 100%);
}
.ay-timeline__step { position: relative; padding-bottom: 1.6rem; }
.ay-timeline__step:last-child { padding-bottom: 0; }

.ay-timeline__dot {
  position: absolute; left: -4rem; top: .32rem;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--hair); background: var(--warm-white);
  display: grid; place-items: center;
}
.ay-timeline__dot svg { width: 9px; height: 9px; color: var(--muted); }
.ay-timeline__step--key .ay-timeline__dot {
  background: var(--color-brand-secondary-500); border-color: var(--color-brand-secondary-500);
  box-shadow: 0 0 0 5px rgba(232, 146, 74, .15);
}
.ay-timeline__step--key .ay-timeline__dot svg { color: #fff; }

.ay-timeline__time {
  font-size: 0.625rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-brand-secondary-600); font-weight: var(--font-weight-semibold); margin-bottom: .15rem;
}
.ay-timeline__name { font-weight: var(--font-weight-semibold); font-size: .97rem; color: var(--color-brand-primary-600); margin: 0 0 .2rem; }
.ay-timeline__desc { font-size: .87rem; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 44ch; }


/* =============================================================================
   DAS RESORT — Bild + Facilities + Team
   ============================================================================= */
.ay-resort { background: var(--color-brand-tertiary-200); }
.ay-resort__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.ay-resort__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.01em;
  margin: .85rem 0 1.2rem; color: var(--color-brand-primary-600); font-variation-settings: "opsz" 96;
}
.ay-resort__text { font-size: .97rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 2rem; }

/* Facilities-Grid */
.ay-facilities { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ay-facility {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 1rem; background: var(--paper);
  border: 1px solid var(--hair-soft); border-radius: 0.625rem;
}
.ay-facility__icon {
  width: 34px; height: 34px; border-radius: var(--border-radius-small);
  background: rgba(30, 110, 114, .1); display: grid; place-items: center; flex-shrink: 0;
}
.ay-facility__icon svg { width: 16px; height: 16px; color: var(--color-brand-primary-500); }
.ay-facility__label { font-size: .87rem; font-weight: var(--font-weight-medium); color: var(--ink-soft); line-height: 1.3; }
.ay-facility__sub { display: block; font-size: .76rem; color: var(--muted); margin-top: .05rem; }

/* Resort-Bild mit Badge */
.ay-resort__visual { position: relative; }
.ay-resort__photo {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r);
  background: var(--color-brand-primary-600) center / cover no-repeat; overflow: hidden;
  box-shadow: 0 28px 64px -32px rgba(14, 74, 77, .5);
}
.ay-resort__badge {
  position: absolute; bottom: 1.75rem; left: -1.75rem;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r);
  padding: 1rem 1.4rem; box-shadow: 0 12px 28px -14px rgba(14, 74, 77, .28);
}
.ay-resort__badge-val {
  font-family: var(--display); font-size: 2.2rem; font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600); font-variation-settings: "opsz" 96; line-height: 1;
}
.ay-resort__badge-lbl {
  font-size: 0.65625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-top: .2rem; display: block;
}

/* Team-Subsection */
.ay-team { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--hair-soft); }
.ay-team__heading {
  font-family: var(--display); font-weight: var(--font-weight-regular); font-size: 1.7rem;
  color: var(--color-brand-primary-600); margin: 0 0 1.6rem; font-variation-settings: "opsz" 48;
}
.ay-team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ay-team-card {
  background: var(--paper); border: 1px solid var(--hair-soft); border-radius: var(--r);
  padding: 1.6rem 1.5rem;
}
.ay-team-card__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--color-brand-primary-600);
  display: grid; place-items: center; margin-bottom: .85rem;
  font-family: var(--display); font-size: 1.1rem; font-weight: var(--font-weight-regular);
  color: #fff; font-variation-settings: "opsz" 48;
}
.ay-team-card__role {
  font-size: 0.625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-brand-secondary-600); font-weight: var(--font-weight-semibold);
}
.ay-team-card__name {
  font-family: var(--display); font-size: 1.15rem; font-weight: var(--font-weight-regular);
  color: var(--color-brand-primary-600); margin: .2rem 0 .75rem; font-variation-settings: "opsz" 48;
}
.ay-team-card__bio { font-size: .88rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }


/* =============================================================================
   SAISONALE PREISE — Tabelle + Special Offers
   ============================================================================= */
.ay-prices { background: var(--warm-white); }
.ay-prices__head { margin-bottom: 2rem; }
.ay-prices__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.01em;
  margin: .8rem 0 1rem; color: var(--color-brand-primary-600); font-variation-settings: "opsz" 96;
}
.ay-prices__sub { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; max-width: 62ch; margin: 0; }

/* Preistabelle */
/* Saison-Dropdown-Filter */
.ay-price-filter {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.ay-price-filter__label {
  font-size: 0.6875rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: var(--font-weight-semibold); color: var(--muted); white-space: nowrap;
}
.ay-saison-select {
  appearance: none;
  border: 1px solid var(--hair); border-radius: var(--r-sm);
  padding: .45rem 2rem .45rem .75rem; font-size: .88rem; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .55rem center;
  background-size: 16px; cursor: pointer; min-width: 220px;
}
.ay-saison-select:focus { outline: 2px solid var(--color-brand-primary-500); outline-offset: 2px; }

.ay-price-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--hair); margin-bottom: 1.4rem; }
.ay-price-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.ay-price-table thead th {
  background: var(--color-brand-primary-600); color: rgba(255,255,255,.85);
  font-size: 0.625rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--font-weight-medium);
  padding: 1.05rem 1.4rem; text-align: left; white-space: nowrap;
}
.ay-price-table thead th:not(:first-child) { text-align: right; }
.ay-price-table tbody td {
  padding: 1rem 1.4rem; font-size: .92rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--hair-soft);
}
.ay-price-table tbody td:first-child { color: var(--ink); font-weight: var(--font-weight-medium); }
.ay-price-table tbody td:not(:first-child) {
  text-align: right;
  font-family: var(--body);
  /* font-variant-numeric: tabular-nums; */
  letter-spacing: 0;
}

/* Saison-Gruppen-Header */
.ay-price-table__saison-head td {
  background: var(--color-brand-primary-100);
  padding: .65rem 1.4rem; border-bottom: 0;
}
.ay-price-table__saison-head.is-peak td { background: var(--color-brand-secondary-500) !important; }
.ay-price-table__period {
  font-size: 0.6875rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: var(--font-weight-semibold); color:var(--ink); 
}
.ay-price-table__saison-head.is-peak .ay-price-table__period { color: var(--ink); }
.ay-price-table__peak-badge {
  display: inline-block; margin-left: .7rem;
  padding: .12rem .5rem; border-radius: 0.1875rem;
  background: rgba(255,255,255,.25); color: rgba(255,255,255,.95);
  font-size: 0.5625rem; letter-spacing: .12em; text-transform: uppercase; font-weight: var(--font-weight-bold);
  vertical-align: middle;
}
.ay-price-table__saison-head.is-peak .ay-price-table__peak-badge {
  background: rgba(0,0,0,.12); color: var(--ink);
}
.ay-price-strong {
  font-family: var(--display); font-weight: var(--font-weight-regular); font-size: 1rem;
  font-variation-settings: "opsz" 48; color: var(--color-brand-primary-600);
}

/* Special-Offer-Boxen */
.ay-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.6rem; }
.ay-offer {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--hair-soft); border-radius: var(--r);
  padding: 1.35rem 1.4rem;
}
.ay-offer--star { border-color: var(--color-brand-secondary-500); background: rgba(232, 146, 74, .05); }
.ay-offer__icon {
  width: 36px; height: 36px; border-radius: 0.5625rem;
  background: rgba(30, 110, 114, .1); display: grid; place-items: center; flex-shrink: 0;
}
.ay-offer--star .ay-offer__icon { background: rgba(232, 146, 74, .15); }
.ay-offer__icon svg { width: 17px; height: 17px; color: var(--color-brand-primary-500); }
.ay-offer--star .ay-offer__icon svg { color: var(--color-brand-secondary-500); }
.ay-offer__title { font-size: .93rem; font-weight: var(--font-weight-semibold); color: var(--color-brand-primary-600); margin: 0 0 .25rem; }
.ay-offer__text { font-size: .87rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }

.ay-prices__note {
  display: flex; align-items: center; gap: .6rem;
  margin-top: 1.75rem; font-size: 0.8125rem; color: var(--ink-soft);
}
.ay-prices__note svg { width: 16px; height: 16px; color: var(--color-brand-secondary-600); flex-shrink: 0; }


/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1100px) {
  .ay-resort__badge { left: 1rem; }
}
@media (max-width: 980px) {
  .ay-prog-selector { grid-template-columns: 1fr; }
  .ay-progs__panel { padding: 1.75rem 1.5rem; }
  .ay-panel__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ay-flow__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ay-resort__grid { grid-template-columns: 1fr; }
  .ay-resort__badge { position: static; display: inline-block; margin-top: 1.25rem; }
  .ay-team__grid { grid-template-columns: 1fr 1fr; }
  .ay-offers { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ay-prog-btn { padding: 1.35rem 1.25rem; }
  .ay-facilities { grid-template-columns: 1fr; }
  .ay-team__grid { grid-template-columns: 1fr; }
  .ay-timeline { padding-left: 3rem; }
  .ay-timeline::before { left: .85rem; }
  .ay-timeline__dot { left: -3rem; }
  .ay-price-table thead th, .ay-price-table tbody td { padding: .85rem .9rem; }
}

/* Preistabelle auf schmalen Bildschirmen: jede Zeile wird zur Karte.
   Vier Spalten brauchen rund 510px — in 333px Inhaltsbreite lief die Tabelle
   um 180px über. Seitliches Scrollen im Kasten war zwar möglich, aber nichts
   deutete darauf hin: sichtbar blieben der Zimmername (über drei Zeilen
   umgebrochen) und ein angeschnittener Preis. Statt dessen stehen Label und
   Wert untereinander, der Spaltenkopf kommt aus `data-label`.
   Die ARIA-Rollen bleiben am Markup erhalten — `display: block` nimmt einer
   Tabelle sonst ihre Semantik. */
@media (max-width: 640px) {
  .ay-price-wrap { overflow-x: visible; }

  .ay-price-table,
  .ay-price-table tbody,
  .ay-price-table tr,
  .ay-price-table td { display: block; width: 100%; }

  .ay-price-table thead { display: none; }

  .ay-price-table tbody tr[data-zimmer] {
    padding: .95rem 1rem 1.05rem;
    border-bottom: 1px solid var(--hair-soft);
  }
  .ay-price-table tbody tr[data-zimmer] td { border: 0; padding: 0; }

  /* Leere Werte ganz weg statt als Gedankenstrich: in der Tabelle hält das «–»
     die Spalte lesbar, in der Karte wäre es eine Zeile ohne Aussage.
     Der volle Selektor ist Absicht — mit `td.ist-leer` allein läge er
     spezifitätsgleich mit der `td[data-label]`-Regel weiter unten und
     entschiede sich über die Reihenfolge im Stylesheet. */
  .ay-price-table tbody tr[data-zimmer] td.ist-leer { display: none; }

  /* Zimmername trägt die Karte — kein Label, dafür Gewicht */
  .ay-price-table tbody tr[data-zimmer] td:first-child {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: .55rem;
  }

  /* Wertzeilen: Label links, Preis rechts auf einer Grundlinie */
  .ay-price-table tbody td[data-label] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .22rem 0;
  }
  .ay-price-table tbody td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.625rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .ay-price-table tbody td.ay-td-anfragen {
    margin-top: .85rem;
    padding-right: 0 !important;
  }
  .ay-price-anfragen { width: 100%; justify-content: center; padding-block: .6rem; }

  .ay-price-table__saison-head td { padding: .7rem 1rem; }

  /* Beide Filter über die volle Breite — nebeneinander passen sie nicht und
     brachen vorher auf zwei unterschiedlich breite Zeilen um */
  .ay-price-filter { width: 100%; }
  .ay-price-filter .ay-filter-select { flex: 1 1 100%; width: 100%; min-width: 0; }
}


/* =============================================================================
   AYURVEDA/RESORT-TABS — Horizontale Navigation + Bild-Slider + Text
   ============================================================================= */
.ay-tabs { background: var(--theme-bg-page); }
.ay-tabs__head { margin-bottom: 2rem; }
.ay-tabs__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08;
  letter-spacing: -.01em; margin: .8rem 0 0; color: var(--color-brand-primary-600);
  font-variation-settings: "opsz" 96;
}
.ay-tabs__nav {
  display: flex; border-bottom: 1px solid var(--hair);
  margin-bottom: 2.5rem; overflow-x: auto; gap: 0;
}
.ay-tabs__btn {
  flex-shrink: 0; padding: .9rem 1.5rem; background: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: .88rem; font-weight: var(--font-weight-medium); color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.ay-tabs__btn:hover { color: var(--color-brand-primary-500); }
.ay-tabs__btn.is-active { color: var(--color-brand-primary-600); border-bottom-color: var(--color-brand-primary-500); }

.ay-pane { display: none; }
.ay-pane.is-active { display: block; animation: ayPanelIn .4s var(--ease) both; }

.ay-pane__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}

/* Bild-Slider im Tab-Panel */
.ay-slider { position: relative; }
.ay-slider__frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--color-brand-primary-700); }
.ay-slider__img { width: 100%; height: 100%; object-fit: cover; display: none; }
.ay-slider__img.is-active { display: block; }
.ay-slider__footer { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; min-height: 2rem; }
.ay-slider__counter { font-size: 0.6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ay-slider__caption { font-size: .87rem; color: var(--ink-soft); flex: 1; line-height: 1.4; }
.ay-slider__arrows { display: flex; gap: .4rem; margin-left: auto; }
.ay-slider__arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair);
  background: var(--paper); color: var(--color-brand-primary-500);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ay-slider__arrow:hover { background: var(--color-brand-primary-500); border-color: var(--color-brand-primary-500); color: #fff; }
.ay-slider__arrow svg { width: 13px; height: 13px; }

/* Text-Seite im Tab-Panel */
.ay-pane__text { display: flex; flex-direction: column; justify-content: center; padding-top: .5rem; }
.ay-pane__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--color-brand-primary-600);
  margin: 0 0 1.2rem; font-variation-settings: "opsz" 96; line-height: 1.1;
}
.ay-pane__content { font-size: .96rem; line-height: 1.72; color: var(--ink-soft); }
.ay-pane__content p { margin: 0 0 .9rem; }
.ay-pane__content p:last-child { margin: 0; }
.ay-pane__content strong { color: var(--ink); }
.ay-pane__content ul { padding-left: 1.2rem; margin: .4rem 0 .9rem; }
.ay-pane__content li { margin-bottom: .3rem; }



/* =============================================================================
   ZIMMER — Destination-Card-Style + Hover-Desc + Modal
   ============================================================================= */
.ay-zimmer { background: var(--color-brand-tertiary-200); }
.ay-zimmer__head { margin-bottom: 2.5rem; }
.ay-zimmer__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08;
  letter-spacing: -.01em; margin: .8rem 0 0; color: var(--color-brand-primary-600);
  font-variation-settings: "opsz" 96;
}
.ay-zimmer__copy {
  font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft);
  max-width: 60ch; margin: .9rem 0 0;
}
.ay-zimmer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Card — dest-card Stil */
.ay-zimmer-card {
  position: relative; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden;
  background: var(--color-brand-primary-700) center / cover no-repeat;
  cursor: pointer; isolation: isolate;
  border: none; padding: 0; text-align: left;
  transition: transform .38s var(--ease), opacity .88s var(--ease);
}
.ay-zimmer-card:hover { transform: translateY(-5px); }
/* Gradient */
.ay-zimmer-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,43,45,0) 40%, rgba(32,32,32,.88) 100%);
  transition: background .38s;
}
.ay-zimmer-card:hover::after {
  background: linear-gradient(180deg, rgba(5,43,45,.06) 18%, rgba(32,32,32,.94) 100%);
}
/* Bildanzahl-Badge */
.ay-zimmer-card__count {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  display: flex; align-items: center; gap: .35rem;
  font-size: 0.6875rem; font-weight: var(--font-weight-medium); color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.28); backdrop-filter: blur(8px);
  padding: .3rem .65rem; border-radius: var(--border-radius-round); border: none;
}
/* Card-Inhalt */
.ay-zimmer-card__inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
}
.ay-zimmer-card__body { display: flex; flex-direction: column; }
.ay-zimmer-card__name {
  font-family: var(--display); font-weight: var(--font-weight-regular); font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #fff; margin: 0; font-variation-settings: "opsz" 48; line-height: 1.15;
}
.ay-zimmer-card__hover-desc {
  font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.82);
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .38s var(--ease), opacity .3s, margin-top .3s;
}
.ay-zimmer-card:hover .ay-zimmer-card__hover-desc,
.ay-zimmer-card:focus-visible .ay-zimmer-card__hover-desc {
  max-height: 80px; opacity: 1; margin-top: .45rem;
}
.ay-zimmer-card:focus-visible { outline: 3px solid var(--color-brand-secondary-500); outline-offset: 3px; }

/* ── Karte ohne Foto ─────────────────────────────────────────────────────────
   Ein Zimmer kommt auch ohne Galerie in die Liste, wenn es Beschreibung oder
   Ausstattung hat (ir_resort_zimmer()). Ohne diese Variante blieb dafür eine
   dunkle Kachel mit nur dem Namen stehen — genau das, was der Filter vermeiden
   sollte. Statt einer Bildfläche mit Verlauf ist die Karte hier eine helle
   Textkarte: Name und Auszug stehen dauerhaft, nicht erst bei Hover, weil kein
   Foto um Aufmerksamkeit konkurriert. Dieselbe Haltung wie beim Modal, das mit
   `.ay-zim-modal--ohne-bilder` seine Bildspalte weglässt.
   ------------------------------------------------------------------------- */
.ay-zimmer-card--ohne-bild {
  /* Kein festes 3/4 mehr: die Karte folgt ihrem Text und wird nicht künstlich
     hoch. `min-height` hält die Reihe trotzdem auf einer ruhigen Grundlinie. */
  aspect-ratio: auto;
  min-height: 13rem;
  /* `display: flex` ist Pflicht: ein <button> zentriert seinen Inhalt vertikal.
     Solange das Innere absolut positioniert war, fiel das nicht auf — mit
     `position: static` sass der Titel einer kurzen Karte tiefer als bei den
     langen (gemessen 21px Unterschied). */
  display: flex;
  background: var(--theme-bg-subtle, #FBF7EE);
  border: 1px solid color-mix(in srgb, var(--color-brand-primary-600) 16%, transparent);
}
/* Der Verlauf gehört zum Foto — ohne Foto verdunkelt er nur den Grund */
.ay-zimmer-card--ohne-bild::after { content: none; }
/* Inhalt fliesst, statt am unteren Rand zu kleben */
.ay-zimmer-card--ohne-bild .ay-zimmer-card__inner {
  position: static; justify-content: flex-start;
  flex: 1;
  padding: 1.5rem;
}
.ay-zimmer-card--ohne-bild .ay-zimmer-card__name {
  color: var(--color-brand-primary-600);
}
/* Dauerhaft sichtbar: die Aufklapp-Mechanik ist nur auf dem Foto sinnvoll */
.ay-zimmer-card--ohne-bild .ay-zimmer-card__hover-desc {
  max-height: none; opacity: 1; margin-top: .6rem;
  color: var(--ink-soft);
}
/* Hinweis, dass die Karte etwas öffnet — beim Foto leistet das der Verlauf */
.ay-zimmer-card--ohne-bild .ay-zimmer-card__body::after {
  content: "Details ansehen";
  margin-top: .9rem;
  font-size: var(--font-fontSize-xs); font-weight: var(--font-weight-semibold);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-brand-primary-600);
}
.ay-zimmer-card--ohne-bild:hover {
  border-color: color-mix(in srgb, var(--color-brand-primary-600) 38%, transparent);
}

/* =============================================================================
   ZIMMER-MODAL
   ============================================================================= */
.ay-zim-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.ay-zim-modal[hidden] { display: none; }
.ay-zim-modal__backdrop {
  position: absolute; inset: 0; background: rgba(5,27,28,.68);
  backdrop-filter: blur(4px); cursor: pointer;
}
.ay-zim-modal__dialog {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--border-radius-large); overflow: hidden;
  width: 100%; max-width: 1100px; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,.45);
  animation: zimModalIn .28s var(--ease) both;
}
@keyframes zimModalIn {
  from { opacity: 0; transform: scale(.97) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ay-zim-modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.1);
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s;
}
.ay-zim-modal__close:hover { background: #fff; }
.ay-zim-modal__content { display: flex; flex: 1; overflow: hidden; min-height: 0; }

/* Gallery */
.ay-zim-modal__gallery {
  position: relative; flex: 0 0 55%; background: var(--color-brand-primary-800); overflow: hidden;
}
.ay-zim-modal__gallery .rd-slider { position: absolute; inset: 0; height: auto; }
/* Zimmerkategorie ohne Bilder: Bildspalte weg, Text über die ganze Breite.
   Als Klasse am Modal statt `hidden` am Element — die Spalte trägt `flex` und
   `display: none` aus dem [hidden]-Attribut käme dagegen nicht durch. */
.ay-zim-modal--ohne-bilder .ay-zim-modal__gallery { display: none; }
.ay-zim-modal--ohne-bilder .ay-zim-modal__dialog  { max-width: 40rem; }

/* Info-Panel */
.ay-zim-modal__info {
  flex: 1; overflow-y: auto; padding: 2rem 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0;
}
.ay-zim-modal__name {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--color-brand-primary-600);
  margin: 0 0 .3rem; font-variation-settings: "opsz" 96; line-height: 1.1;
}
.ay-zim-modal__details {
  font-size: .88rem; color: var(--muted); margin: 0 0 1.25rem;
}
.ay-zim-modal__sep {
  height: 1px; background: var(--hair); margin-bottom: 1.25rem;
}
/* Features 2-spaltiges Grid */
.ay-zim-modal__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem;
  margin-bottom: 1.4rem;
}
.ay-zim-feat {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--ink-soft);
}
.ay-zim-feat svg { flex-shrink: 0; color: var(--color-brand-primary-500); }
/* Hochgeladenes Icon als PNG/WebP — gleiche Fläche wie die SVG-Icons (22px) */
.ay-zim-feat .ir-icon-eigen { flex-shrink: 0; width: 1.375rem; height: 1.375rem; object-fit: contain; }
.ay-zim-modal__desc {
  font-size: .92rem; line-height: 1.7; color: var(--ink-soft);
  flex: 1; margin-bottom: 1.5rem;
}
.ay-zim-modal__desc p { margin: 0 0 .75rem; }
.ay-zim-modal__desc p:last-child { margin: 0; }
.ay-zim-modal__cta { align-self: flex-start; margin-top: auto; }

/* Modal responsive */
@media (max-width: 680px) {
  .ay-zim-modal__content { flex-direction: column; }
  .ay-zim-modal__gallery { flex: 0 0 52vw; min-height: 52vw; }
  .ay-zim-modal__info { padding: 1.5rem; }
  .ay-zim-modal__features { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ay-zimmer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ay-zimmer__grid { grid-template-columns: 1fr; }
  .ay-zimmer-card { aspect-ratio: 4/3; }
  .ay-zimmer-card--ohne-bild { aspect-ratio: auto; }
}


/* =============================================================================
   PAKETE / PREISE — Paket-Select-Dropdown + Intro-Box + Preistabelle + Leistungen
   ============================================================================= */
.ay-pakete { background: var(--color-brand-tertiary-200); }

.ay-pakete__head { margin-bottom: 1.75rem; }
.ay-pakete__title {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.01em;
  margin: .8rem 0 0; color: var(--color-brand-primary-600); font-variation-settings: "opsz" 96;
}

/* Paket-Selector (siehe .ay-prog-selector / .ay-prog-btn oben) */
.ay-pakete .ay-prog-selector { margin-bottom: 1.75rem; }

/* Panel */
.ay-pakete__panel { display: none; }
.ay-pakete__panel.is-active { display: block; animation: ayPanelIn .4s var(--ease) both; }
.ay-pakete__panel-inner { display: flex; flex-direction: column; gap: 2rem; }

/* Paket-Box: gemeinsame Karte für Name + Hinweis + Leistungen */
.ay-paket__box {
  background: #fffdf8; border: 1px solid var(--hair);
  border-radius: var(--border-radius-large); overflow: hidden;
}
.ay-paket__top {
  padding: 1.75rem 2rem;
}
/* Fliesstext über die ganze Breite, der Hinweis-Kasten steht darunter — vorher
   lag er als zweite Spalte rechts und schnürte den Text auf halbe Breite ein. */
.ay-paket__top--split {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.ay-paket__dauer {
  display: block; font-size: 0.65625rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: var(--font-weight-semibold); color: var(--muted); margin-bottom: .45rem;
}
.ay-paket__name {
  font-family: var(--display); font-weight: var(--font-weight-regular);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--color-brand-primary-600);
  margin: 0 0 .9rem; font-variation-settings: "opsz" 96; line-height: 1.12;
}
.ay-paket__desc { margin: 0; }
.ay-paket__note {
  background: rgba(30,110,114,.06); border: 1px solid rgba(30,110,114,.16);
  border-radius: var(--border-radius-medium); padding: 1.1rem 1.3rem;
}
.ay-paket__note-head {
  display: block; font-size: 0.625rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: var(--font-weight-bold); color: var(--color-brand-primary-600); margin-bottom: .45rem;
}
.ay-paket__note-text { font-size: .875rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Leistungen innerhalb der Box — eigenes Padding + Trennlinie */
.ay-pakete-leistungen {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: 1.5rem 2rem 1.75rem; border-top: 1px solid var(--hair);
}
.ay-leistung__head { font-size: 0.625rem; letter-spacing: .2em; text-transform: uppercase; font-weight: var(--font-weight-semibold); color: var(--muted); margin: 0 0 .85rem; }
.ay-leistung__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.ay-leistung__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.ay-leistung__list svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: .18rem; }
.ay-leistung__list--inkl svg { color: var(--color-brand-primary-500); }
.ay-leistung__list--exkl svg { color: var(--muted); }

/* Preise-Subheader: Eyebrow+Titel links, Filter-Selects rechts */
.ay-preise-area { }
.ay-preise-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  padding-top: .25rem; margin-bottom: .85rem;
  border-top: 1px solid var(--hair);
}
.ay-preise-head > div:first-child { padding-top: 1.25rem; }
.ay-preise-head__eyebrow {
  display: block; font-size: 0.65625rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: var(--font-weight-semibold); color: var(--muted);
}
.ay-preise-head__title {
  font-family: var(--display); font-weight: var(--font-weight-regular); font-size: 1.5rem;
  color: var(--color-brand-primary-600); margin: .35rem 0 0; font-variation-settings: "opsz" 48;
}

/* Filter-Selects (Zimmer + Saison) */
.ay-price-filter { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding-bottom: .5rem; }
.ay-filter-select {
  appearance: none;
  border: 1px solid var(--hair); border-radius: var(--border-radius-large);
  padding: .48rem 2.25rem .48rem 1rem; font-size: .875rem; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center;
  background-size: 15px; cursor: pointer; min-width: 150px;
}
.ay-filter-select:focus { outline: 2px solid var(--color-brand-primary-500); outline-offset: 2px; }

/* "Anfragen"-Button in Preistabelle */
.ay-th-anfragen { width: 1%; white-space: nowrap; }
.ay-td-anfragen { text-align: right; padding-right: 1rem !important; white-space: nowrap; }
.ay-price-anfragen {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem 1rem; border: 1px solid var(--color-brand-primary-500);
  border-radius: var(--border-radius-round); color: var(--color-brand-primary-500);
  font-family: var(--body); font-size: 0.6875rem; font-weight: var(--font-weight-medium); letter-spacing: .06em;
  text-decoration: none; transition: background .2s, color .2s;
}
.ay-price-anfragen:hover { background: var(--color-brand-primary-500); color: #fff; }


/* =============================================================================
   RESPONSIVE — Ayurveda-spezifische Breakpoints
   ============================================================================= */
@media (max-width: 980px) {
  .ay-pane__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ay-pakete__panel-inner { gap: 1.5rem; }
  .ay-pakete-leistungen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ay-zimmer__grid { grid-template-columns: 1fr; }
  .ay-pakete-leistungen { grid-template-columns: 1fr; }
  .ay-preise-head { flex-direction: column; align-items: flex-start; }
}
