/* Page-owned styles for visuelle-highlights */

#visuelle-highlights-main {
  overflow-x: hidden;
}

/* Hero */
.vh-hero {
  background-color: var(--color-sand);
  padding-block: var(--space-3xl) var(--space-2xl);
}

.vh-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.vh-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.vh-hero__title {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 65ch;
}

.vh-hero__lead {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 65ch;
}

.vh-hero__cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-block-start: var(--space-sm);
}

/* Shared section header */
.vh-section {
  padding-block: var(--section-padding-mobile);
}

.vh-section--sand {
  background-color: var(--color-sand);
}

.vh-section--seafoam {
  background-color: var(--color-seafoam);
}

.vh-section__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-xl);
}

.vh-section__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  color: var(--color-navy);
  margin-block-end: 0;
}

.vh-section__intro {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 65ch;
}

/* Feature grid */
.vh-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  width: 100%;
}

.vh-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

.vh-feature__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: var(--border-subtle);
}

.vh-feature__media--16x9 {
  aspect-ratio: 16 / 9;
}

.vh-feature__media--4x3 {
  aspect-ratio: 4 / 3;
}

.vh-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.vh-feature__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

.vh-feature__title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--color-navy);
  margin-block-end: 0;
}

.vh-feature__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 55ch;
}

/* Gesamteindruck */
.vh-gesamt__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}

.vh-gesamt__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.vh-gesamt__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  color: var(--color-navy);
  margin-block-end: 0;
}

.vh-gesamt__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 65ch;
}

.vh-gesamt__media {
  width: 100%;
  max-width: 800px;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: var(--border-subtle);
}

.vh-gesamt__media--16x9 {
  aspect-ratio: 16 / 9;
}

.vh-gesamt__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* CTA */
.vh-cta {
  background-color: var(--color-seafoam);
  padding-block: var(--space-3xl) var(--space-2xl);
}

.vh-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.vh-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.vh-cta__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  color: var(--color-navy);
  margin-block-end: 0;
}

.vh-cta__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-navy);
  margin-block-end: 0;
  max-width: 65ch;
}

.vh-cta__action {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-block-start: var(--space-sm);
}

/* Tablet and desktop */
@media (min-width: 768px) {
  .vh-section {
    padding-block: var(--section-padding-desktop);
  }

  .vh-feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .vh-feature {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-xl);
  }

  .vh-feature--image-right {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .vh-feature--image-right .vh-feature__media {
    order: 2;
  }

  .vh-feature--image-right .vh-feature__body {
    order: 1;
  }
}

@media (min-width: 1024px) {
  .vh-feature {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .vh-feature--image-right {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

@media (max-width: 767px) {
  .vh-hero {
    padding-block: var(--space-2xl) var(--space-xl);
  }

  .vh-cta {
    padding-block: var(--space-2xl) var(--space-xl);
  }

  .vh-feature-grid {
    gap: var(--space-xl);
  }

  .vh-feature {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .vh-feature--image-right .vh-feature__media {
    order: 0;
  }

  .vh-feature--image-right .vh-feature__body {
    order: 0;
  }

  .vh-feature__text {
    max-width: 100%;
  }

  .vh-section__header {
    margin-block-end: var(--space-lg);
  }
}
