/* ========================================================================== 
   SKYTIME – LUFTAUFNAHMEN
   Eigene Gestaltung für Fotos, Video, Luftbild-Service und Impressionen.
   ========================================================================== */

.page-hero-aerial {
  background-image:
    linear-gradient(90deg, rgb(7 25 43 / 72%) 0%, rgb(7 25 43 / 42%) 38%, rgb(7 25 43 / 8%) 72%),
    url("../old_picture_stuff/4_Neue Bilderauswahl/5.jpg");
  background-position: center 46%;
  background-size: cover;
}

@media (min-width: 1500px) {
  .page-hero-aerial .page-hero-copy {
    margin-left: max(
      clamp(96px, calc((100vw - 1728px) / 2), 180px),
      calc((100vw - 2800px) / 2)
    );
  }
}

.aerial-intro {
  max-width: 760px;
}

.aerial-intro p,
.aerial-service-copy p,
.camera-intro p {
  margin: 0 0 18px;
  color: #d5e0eb;
  font-size: 17px;
  line-height: 1.7;
}

/* Erlebnisfotos */
.photo-showcase {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(3, 180px);
  gap: 14px;
  margin-top: 34px;
}

.photo-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 1px solid #7190b2;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
}

.photo-showcase .photo-main {
  grid-row: 1 / -1;
  border-radius: 24px;
}

.photo-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.photo-prices article {
  padding: 22px 24px;
  border: 1px solid #7190b2;
  border-radius: 17px;
  background: linear-gradient(155deg, #335f92, #244a76);
}

.photo-prices span {
  display: block;
  margin-bottom: 7px;
  color: #b9cbdd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.photo-prices strong {
  display: block;
  color: #f2d088;
  font-size: 20px;
  text-align: right;
}

/* Video */
.video-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: end;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.video-card {
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 22px;
  background: #1d426b;
  box-shadow: 0 24px 62px rgb(0 0 0 / 23%);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #102d4d;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding: 21px 24px 24px;
}

.video-copy .eyebrow {
  margin-bottom: 6px;
}

.video-copy h3 {
  margin: 0;
}

.video-offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.offer-card {
  display: flex;
  min-height: 260px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgb(240 199 111 / 12%), transparent 32%),
    linear-gradient(150deg, #335f92, #244a76);
}

.raw-offer {
  background:
    linear-gradient(90deg, rgb(21 52 84 / 97%) 0%, rgb(21 52 84 / 90%) 55%, rgb(21 52 84 / 50%) 100%),
    url("../old_picture_stuff/X-Citor Außen/IMG_099608.jpg") center / cover no-repeat;
}

.offer-card > div {
  max-width: 590px;
}

.offer-card p {
  margin: 0;
  color: #d5e0eb;
  line-height: 1.65;
}

.offer-card strong {
  flex: 0 0 auto;
  color: #f2d088;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

/* Kameraperspektiven */
.camera-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 46px;
  align-items: start;
}

.camera-intro {
  position: sticky;
  top: 120px;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.camera-card {
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 18px;
  background: linear-gradient(155deg, #335f92, #244a76);
}

.camera-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.camera-card div {
  padding: 20px;
}

.camera-card h3 {
  margin-bottom: 7px;
}

.camera-card p {
  margin: 0;
  color: #d5e0eb;
  line-height: 1.55;
}

/* Individuelle Luftbilder */
.aerial-service {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 58px;
  align-items: center;
}

.aerial-service-image {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #7190b2;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgb(15 38 64 / 2%) 52%, rgb(17 42 69 / 78%) 100%),
    url("../legacypage/Bilder/slider/Bild_5.jpg") center / cover no-repeat;
  box-shadow: 0 24px 60px rgb(0 0 0 / 20%);
}

.aerial-service-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.aerial-service-copy p {
  max-width: 680px;
}

/* Impressionen */
.photo-showcase img,
.impression-grid img {
  cursor: zoom-in;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.photo-showcase img:hover,
.photo-showcase img:focus-visible,
.impression-grid img:hover,
.impression-grid img:focus-visible {
  z-index: 2;
  transform: translateY(-4px) scale(1.018);
  border-color: #b8d8e9;
  box-shadow:
    0 24px 58px rgb(0 0 0 / 26%),
    0 0 24px rgb(184 216 233 / 14%);
  filter: saturate(1.05) contrast(1.02);
  outline: none;
}

.impression-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 155px;
  gap: 12px;
  margin-top: 32px;
}

.impression-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #7190b2;
  border-radius: 16px;
}

.impression-grid img:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.impression-grid img:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.impression-grid img:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.impression-grid img:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.impression-grid img:nth-child(5) { grid-column: span 5; grid-row: span 1; }
.impression-grid img:nth-child(6) { grid-column: span 3; grid-row: span 1; }

/* Vergrößerte Bildansicht */
.skytime-lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  height: min(92vh, 980px);
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  opacity: 0;
  transform: scale(.965);
  transition: opacity 180ms ease, transform 180ms ease;
}

.skytime-lightbox.is-open {
  opacity: 1;
  transform: scale(1);
}

.skytime-lightbox::backdrop {
  background: rgb(4 14 26 / 88%);
  backdrop-filter: blur(12px);
}

.lightbox-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.lightbox-shell figure {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.lightbox-shell figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 44px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 48%);
}

.lightbox-shell figcaption {
  color: #d5e0eb;
  font-size: 13px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(17 42 69 / 72%);
  color: #fff;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgb(35 74 112 / 92%);
  color: #f2d088;
  box-shadow: 0 0 20px rgb(240 199 111 / 18%);
  outline: none;
}

.lightbox-close {
  top: 8px;
  right: 8px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 14px;
  font-size: 40px;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* Abschluss */
.aerial-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px 38px;
  border: 1px solid #7190b2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgb(240 199 111 / 14%), transparent 31%),
    linear-gradient(150deg, #335f92, #244a76);
}

.aerial-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.aerial-cta .actions {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .camera-layout,
  .aerial-service,
  .video-heading {
    grid-template-columns: 1fr;
  }

  .camera-intro {
    position: static;
  }

  .camera-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .photo-prices,
  .video-grid,
  .video-offers {
    grid-template-columns: 1fr;
  }

  .photo-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 210px 210px;
  }

  .photo-showcase .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .camera-grid {
    grid-template-columns: 1fr;
  }

  .camera-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
  }

  .camera-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .offer-card {
    min-height: 230px;
  }

  .impression-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .impression-grid img,
  .impression-grid img:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .impression-grid img:nth-child(1),
  .impression-grid img:nth-child(4) {
    grid-column: 1 / -1;
  }

  .aerial-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page-hero-aerial {
    background-position: 60% center;
  }

  .photo-showcase {
    display: block;
  }

  .photo-showcase img {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
  }

  .offer-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .camera-card {
    grid-template-columns: 1fr;
  }

  .impression-grid {
    display: block;
  }

  .impression-grid img {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
  }

  .aerial-service-image {
    min-height: 380px;
  }

  .skytime-lightbox {
    width: 96vw;
    height: 90vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 8px;
    width: 54px;
    height: 46px;
    font-size: 32px;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: scale(1.04);
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .lightbox-shell figure img {
    max-height: calc(100% - 70px);
  }
}