/* Skytime Wetter – Feinschliff auf Basis von weather.css */

.page-hero-weather {
  background-image:
    linear-gradient(90deg, rgb(9 27 47 / 80%) 0%, rgb(9 27 47 / 54%) 38%, rgb(9 27 47 / 11%) 72%, rgb(9 27 47 / 0%) 100%),
    url("assets/weather/Wolken/IMG_43664.jpg");
}

#werkzeuge,
#weatherpro,
#windy,
#flugwetter,
#wolken,
#entscheidung {
  scroll-margin-top: 110px;
}

.weather-provider-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.weather-provider-link:hover,
.weather-provider-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgb(240 199 111 / 58%);
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
  outline: none;
}

.provider-read-more {
  display: inline-block;
  margin-top: 18px;
  color: #f0c76f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}

.weather-provider-logo,
.detail-logo-fade {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.provider-logo-fade {
  width: min(210px, 100%);
  height: 82px;
  margin: -2px 0 14px -6px;
}

.provider-logo-fade img,
.detail-logo-fade img {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 74px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 55%, rgb(0 0 0 / 92%) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 55%, rgb(0 0 0 / 92%) 68%, transparent 100%);
}

.detail-logo-fade {
  flex: 0 0 auto;
  width: 104px;
  height: 72px;
}

.detail-logo-fade img {
  max-width: 104px;
  max-height: 70px;
}

.weather-image-note {
  margin-top: 24px;
  padding: 24px 27px;
  border: 1px solid rgb(184 216 233 / 24%);
  border-radius: 16px;
  background: rgb(255 255 255 / 4%);
}

.weather-image-note h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
}

.weather-image-note p {
  margin: 0;
  color: #d7e2eb;
  line-height: 1.7;
}

.weather-fact-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.balloon-symbol-svg {
  width: 88px;
  height: 106px;
  border: 0;
  border-radius: 0;
  color: #f0c76f;
}

.balloon-symbol-svg::before,
.balloon-symbol-svg::after {
  content: none;
}

.balloon-symbol-svg svg {
  width: 86px;
  height: 104px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-note {
  margin-top: 18px !important;
  padding: 15px 17px;
  border-left: 3px solid #f0c76f;
  border-radius: 0 10px 10px 0;
  background: rgb(240 199 111 / 7%);
}

.experience-note strong {
  color: #f4d58f;
}

.weather-shot img,
.dwd-product img,
.satellite-grid img,
.cloud-story-image img,
.cloud-layer-figure img,
.cloud-panorama img,
.cloud-type-media img {
  cursor: zoom-in;
}

.weather-shot img:focus-visible,
.dwd-product img:focus-visible,
.satellite-grid img:focus-visible,
.cloud-story-image img:focus-visible,
.cloud-panorama img:focus-visible,
.cloud-type-media img:focus-visible {
  outline: 3px solid #f0c76f;
  outline-offset: -3px;
}

.satellite-explainer-expanded {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

.satellite-copy p {
  color: #d5e0eb;
  line-height: 1.7;
}

.satellite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.satellite-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgb(184 216 233 / 21%);
  border-radius: 14px;
  background: #102945;
}

.satellite-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.satellite-grid figcaption {
  padding: 12px 13px 14px;
  color: #cad9e5;
  font-size: 12px;
  line-height: 1.5;
}

.satellite-grid figcaption strong {
  color: #f0c76f;
}

.route-weather-section {
  border-top: 1px solid rgb(184 216 233 / 10%);
  border-bottom: 1px solid rgb(184 216 233 / 10%);
}

.cloud-guide-grid-media .cloud-guide-card {
  min-height: 345px;
}

.cloud-card-head {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.cloud-card-head > div:first-child > span {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgb(240 199 111 / 12%);
  color: #f0c76f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.cloud-card-head h3 {
  margin: 0;
}

.cloud-type-media {
  display: grid;
  place-items: center;
  width: 118px;
  height: 88px;
  overflow: hidden;
  border: 1px solid rgb(184 216 233 / 24%);
  border-radius: 12px;
  background: #102945;
}

.cloud-type-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cloud-type-media-empty {
  padding: 8px;
  color: #8fa7bc;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 5%), transparent),
    #102945;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.cloud-guide-card-watch .cloud-card-head > div:first-child > span {
  color: #f0c76f;
}

.cloud-guide-card-stop .cloud-card-head > div:first-child > span {
  color: #efaa9e;
  background: rgb(229 132 116 / 10%);
}

.weather-lightbox {
  width: min(94vw, 1500px);
  max-width: 1500px;
  height: min(92vh, 1000px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid rgb(184 216 233 / 35%);
  border-radius: 18px;
  background: #0b2138;
  box-shadow: 0 30px 90px rgb(0 0 0 / 60%);
}

.weather-lightbox::backdrop {
  background: rgb(2 12 22 / 86%);
  backdrop-filter: blur(5px);
}

.weather-lightbox-inner {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100%;
}

.weather-lightbox-image-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 48px 24px 18px;
}

.weather-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 110px);
  object-fit: contain;
}

.weather-lightbox-caption {
  padding: 13px 60px 18px 22px;
  color: #d8e3ec;
  font-size: 14px;
  line-height: 1.5;
}

.weather-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  background: rgb(7 25 43 / 90%);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .satellite-explainer-expanded {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .weather-provider-grid {
    grid-template-columns: 1fr;
  }

  .satellite-grid {
    grid-template-columns: 1fr;
  }

  .cloud-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cloud-guide-grid {
    grid-template-columns: 1fr;
  }

  .cloud-card-head {
    grid-template-columns: 1fr 96px;
  }

  .cloud-type-media {
    width: 96px;
    height: 76px;
  }

  .weather-lightbox-image-wrap {
    padding-inline: 10px;
  }
}
