/* VENTARES website update – September 2026 */

.flight-media-section,
.order-form-section {
  margin-top: 4rem;
}

.flight-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.video-consent {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-align: center;
}

.video-consent-inner {
  max-width: 34rem;
}

.video-consent p {
  margin: 0.8rem 0 1.25rem;
}

.video-consent .button {
  cursor: pointer;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.event-gallery {
  display: grid;
  gap: 1rem;
}

.event-gallery figure {
  margin: 0;
}

.event-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.event-gallery figcaption {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-form {
  display: grid;
  gap: 1.5rem;
}

.order-card {
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  background: #fff;
}

.order-card h2,
.order-card h3 {
  margin-top: 0;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.order-grid .full-width {
  grid-column: 1 / -1;
}

.order-field {
  display: grid;
  gap: 0.4rem;
}

.order-field label,
.order-field > span {
  font-weight: 600;
}

.order-field input,
.order-field select,
.order-field textarea,
.order-qty {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.order-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.order-products {
  width: 100%;
  border-collapse: collapse;
}

.order-products th,
.order-products td {
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  text-align: left;
}

.order-products th:nth-child(2),
.order-products td:nth-child(2),
.order-products th:nth-child(4),
.order-products td:nth-child(4) {
  text-align: right;
}

.order-products th:nth-child(3),
.order-products td:nth-child(3) {
  width: 7rem;
  text-align: center;
}

.order-qty {
  max-width: 5.5rem;
  text-align: center;
}

.order-category td {
  padding-top: 1.25rem;
  font-weight: 700;
}

.order-summary {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: baseline;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.order-summary strong {
  font-size: 1.3rem;
}

.order-note {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.order-checks {
  display: grid;
  gap: 0.9rem;
}

.order-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.order-check input {
  margin-top: 0.25rem;
}

.order-submit-row {
  display: flex;
  justify-content: flex-end;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 820px) {
  .flight-media-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-grid .full-width {
    grid-column: auto;
  }

  .video-consent {
    min-height: 260px;
  }

  .order-products {
    font-size: 0.92rem;
  }

  .order-products th,
  .order-products td {
    padding: 0.65rem 0.35rem;
  }
}

@media (max-width: 560px) {
  .order-card {
    padding: 1rem;
  }

  .order-products th:nth-child(4),
  .order-products td:nth-child(4) {
    display: none;
  }

  .order-products th:nth-child(3),
  .order-products td:nth-child(3) {
    width: 5.5rem;
  }

  .order-summary {
    justify-content: space-between;
  }
}

.language-switch {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
}

.language-switch a,
.language-switch span {
  text-decoration: none;
}

.language-switch .active {
  font-weight: 700;
}


/* ============================================================
   VENTARES hotfix – 2026-09-09
   Fixes:
   - readable home hero
   - robust EN/DE grid columns
   - robust order table columns
   ============================================================ */

/* Home hero: prevent white text on a white background. */
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #101010 0%, #1b1b1b 55%, #262626 100%);
  color: #fff;
}

.hero .hero-inner,
.hero .hero-inner h1,
.hero .hero-inner h2,
.hero .hero-inner h3,
.hero .hero-inner p,
.hero .hero-kicker {
  color: #fff;
}

.hero .notice {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero .notice strong {
  color: #fff;
}

.hero .dark-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.hero .dark-secondary:hover,
.hero .dark-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

/* Generic product/card grids: English text must not distort columns. */
.grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.grid > *,
.document-grid > * {
  min-width: 0;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.product-feature > * {
  min-width: 0;
}

.product-feature > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.series-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.series-highlight > * {
  min-width: 0;
}

.series-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.series-stats > div {
  min-width: 0;
}

.series-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  align-items: start;
}

.series-gallery figure {
  min-width: 0;
  margin: 0;
}

.series-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.series-gallery-large {
  grid-column: span 2;
}

/* Video section: stable two-column layout and always-visible direct link. */
.flight-media-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.youtube-direct-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.youtube-direct-link:hover,
.youtube-direct-link:focus-visible {
  text-decoration-thickness: 2px;
}

/* Order table: do not let longer English labels collapse the columns. */
.order-card {
  min-width: 0;
}

.order-card > div[style*="overflow-x"] {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.order-products {
  table-layout: fixed;
  min-width: 720px;
}

.order-products th:nth-child(1),
.order-products td:nth-child(1) {
  width: 52%;
  overflow-wrap: anywhere;
}

.order-products th:nth-child(2),
.order-products td:nth-child(2) {
  width: 16%;
}

.order-products th:nth-child(3),
.order-products td:nth-child(3) {
  width: 14%;
}

.order-products th:nth-child(4),
.order-products td:nth-child(4) {
  width: 18%;
}

/* Keep long English navigation labels from breaking the header awkwardly. */
.header-inner {
  gap: 1rem;
}

.main-nav {
  flex-wrap: wrap;
}

.main-nav a {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .product-feature,
  .series-highlight,
  .flight-media-grid {
    grid-template-columns: 1fr;
  }

  .series-gallery-large {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .series-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    background: linear-gradient(145deg, #111 0%, #242424 100%);
  }
}


/* ============================================================
   VENTARES home colour fix – 2026-09-09
   Explicitly prevents inherited white text on white backgrounds.
   ============================================================ */

/* Hero: dark background, light text. */
body > main > .hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #101010 0%, #1b1b1b 55%, #262626 100%) !important;
  color: #ffffff !important;
}

body > main > .hero .hero-inner,
body > main > .hero .hero-kicker,
body > main > .hero h1,
body > main > .hero h2,
body > main > .hero h3,
body > main > .hero p,
body > main > .hero strong {
  color: #ffffff !important;
}

body > main > .hero .notice {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

/* Product section directly below the hero: light background, dark text. */
body > main > .hero + .container {
  background: #ffffff !important;
  color: #181818 !important;
}

body > main > .hero + .container h1,
body > main > .hero + .container h2,
body > main > .hero + .container h3,
body > main > .hero + .container h4,
body > main > .hero + .container p,
body > main > .hero + .container span,
body > main > .hero + .container strong,
body > main > .hero + .container .price,
body > main > .hero + .container .card,
body > main > .hero + .container .product-card {
  color: #181818 !important;
}

body > main > .hero + .container .card,
body > main > .hero + .container .product-card {
  background: #ffffff !important;
}

/* Buttons in the white product section must remain readable. */
body > main > .hero + .container .button {
  background: #181818 !important;
  border-color: #181818 !important;
  color: #ffffff !important;
}

body > main > .hero + .container .button:hover,
body > main > .hero + .container .button:focus-visible {
  background: #333333 !important;
  border-color: #333333 !important;
  color: #ffffff !important;
}

/* Hero secondary button: readable on the dark hero. */
body > main > .hero .dark-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.70) !important;
  color: #ffffff !important;
}

body > main > .hero .dark-secondary:hover,
body > main > .hero .dark-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}


/* ============================================================
   VENTARES image sizing fix – 2026-09-15
   Keep gallery thumbnails visually consistent while preserving
   the original full-resolution image behind the existing links.
   ============================================================ */

/* Main TAIPAN product image: never dominate the product intro. */
.product-feature > img {
  width: 100% !important;
  max-width: 760px !important;
  max-height: 460px !important;
  margin-inline: auto !important;
  object-fit: contain !important;
}

/* Competition images beside the video: uniform 16:9 thumbnails. */
.event-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f2;
}

.event-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

/* Production gallery: all normal tiles use one consistent format. */
.series-gallery figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.series-gallery figure > a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f2;
}

.series-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

/* The large overview image stays deliberately wider. */
.series-gallery-large img {
  aspect-ratio: 16 / 9 !important;
}

/* Captions should not change the apparent image dimensions. */
.series-gallery figcaption,
.event-gallery figcaption {
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Avoid excessively large gallery tiles on very wide monitors. */
.series-gallery {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
}

@media (min-width: 1200px) {
  .series-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .series-gallery-large {
    grid-column: span 2 !important;
  }
}

@media (max-width: 900px) {
  .product-feature > img {
    max-width: 640px !important;
    max-height: 400px !important;
  }

  .series-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .series-gallery-large {
    grid-column: span 2 !important;
  }
}

@media (max-width: 620px) {
  .series-gallery {
    grid-template-columns: 1fr !important;
  }

  .series-gallery-large {
    grid-column: auto !important;
  }

  .series-gallery img,
  .series-gallery-large img {
    aspect-ratio: 4 / 3 !important;
  }
}
/* ============================================================
   VENTARES About / Über uns fix – 2026-09-15
   ============================================================ */

.about-page {
  overflow: hidden;
}

.about-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.about-section + .about-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-lead {
  max-width: 60rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.about-intro-grid > *,
.about-two-column > *,
.about-copy-columns > *,
.about-stat-grid > *,
.about-timeline > *,
.about-insights-grid > * {
  min-width: 0;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-figure-main img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-figure-wide {
  margin-top: 2rem;
}

.about-figure-wide img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.about-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.78;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-card {
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #181818;
}

.about-card h2,
.about-card h3,
.about-card p,
.about-card span {
  color: inherit;
}

.about-card h3 {
  margin-top: 0;
}

.about-card-large {
  padding: 1.7rem;
}

.about-card-large .hero-kicker {
  margin-top: 0;
}

.about-copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.about-timeline article {
  padding: 1.25rem;
  border-top: 3px solid #181818;
  background: rgba(0, 0, 0, 0.025);
}

.about-year {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  opacity: 0.65;
}

.about-timeline h3 {
  margin-top: 0;
}

.about-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-insights-grid .about-figure > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f2f2f2;
}

.about-insights-grid .about-figure-contain > img {
  object-fit: contain;
  padding: 1rem;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .about-intro-grid,
  .about-two-column,
  .about-copy-columns {
    grid-template-columns: 1fr;
  }

  .about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat-grid,
  .about-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat-grid > :last-child,
  .about-insights-grid > :last-child {
    grid-column: 1 / -1;
  }

  .about-insights-grid > :last-child {
    max-width: 50%;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .about-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .about-stat-grid,
  .about-timeline,
  .about-insights-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-grid > :last-child,
  .about-insights-grid > :last-child {
    grid-column: auto;
  }

  .about-insights-grid > :last-child {
    max-width: none;
  }

  .about-figure-wide img,
  .about-figure-main img,
  .about-insights-grid .about-figure > img {
    aspect-ratio: 4 / 3;
  }
}
