/* =========================================================
   ISS FUEHRUNGEN BASE
   Structure only. Theme skin owns colors, surfaces, radii,
   shadows, and interactive appearance.
   Public plugin CSS consumes --iss-* tokens with fallbacks;
   it does not define the global token contract.
   ========================================================= */

.iss-fuehrung-hero {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.iss-fuehrung-hero img {
  display: block;
  width: 100%;
  min-height: min(68svh, 760px);
  max-height: 78svh;
  object-fit: cover;
}

.iss-fuehrung-intro-wrap,
.iss-fuehrung-dates-wrap,
.iss-fuehrung-content-wrap,
.iss-fuehrung-related-wrap,
.iss-fuehrungen-archive-head,
.iss-fuehrungen-archive-grid-wrap {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.iss-fuehrung-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.iss-fuehrung-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.iss-fuehrung-fact {
  padding: 1rem 1.1rem;
}

.iss-fuehrung-fact__label {
  margin: 0 0 0.35rem;
}

.iss-fuehrung-booking {
  position: sticky;
  top: calc(var(--iss-header-height, 5.5rem) + 1rem);
}

.iss-fuehrung-booking__inner {
  padding: 1.4rem;
}

.iss-fuehrung-booking__title,
.iss-fuehrung-next-date,
.iss-fuehrung-booking__status,
.iss-fuehrung-booking__note {
  margin: 0;
}

.iss-fuehrung-booking__status,
.iss-fuehrung-booking__note {
  margin-top: 0.65rem;
}

.iss-fuehrung-booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.iss-fuehrung-booking__secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.iss-fuehrung-dates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}

.iss-fuehrung-dates-grid__calendar,
.iss-fuehrung-dates-grid__list {
  min-width: 0;
}

.iss-fuehrung-content {
  max-width: 72ch;
}

.iss-fuehrung-content > *:first-child {
  margin-top: 0;
}

.iss-fuehrungen-archive-grid,
.iss-fuehrungen-pagination {
  margin-top: 2rem;
}

.iss-fuehrungen-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.iss-fuehrungen-pagination a,
.iss-fuehrungen-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
}

.iss-gesture-stage-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.iss-gesture-stage-gallery__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.iss-gesture-stage-gallery__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .iss-fuehrung-intro,
  .iss-fuehrung-dates-grid {
    grid-template-columns: 1fr;
  }

  .iss-fuehrung-booking {
    position: static;
    top: auto;
  }
}

@media (max-width: 782px) {
  .iss-fuehrung-facts {
    grid-template-columns: 1fr;
  }

  .iss-fuehrung-hero img {
    min-height: 42svh;
    max-height: 54svh;
  }

  .iss-gesture-stage-gallery {
    gap: 0.5rem;
  }

  .iss-gesture-stage-gallery__thumb {
    aspect-ratio: 16 / 10;
  }
}
