/* =========================
   NEWS / WEATHER BAND
   ========================= */

.news-section {
  position: relative;
  width: 100vw;
  min-height: clamp(460px, 44vw, 610px);
  margin-top: clamp(2.75rem, 4.5vw, 4rem);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: var(--color-green);
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
  overflow: hidden;
}

.news-section__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--site-max-width));
  margin: 0 auto;
  padding: clamp(4.25rem, 8vw, 6rem) var(--content-padding-side) clamp(6.75rem, 10vw, 8.25rem);
}

.news-section__side-image {
  position: absolute;
  top: 56%;
  z-index: 1;

  /* HIER DIE GRÖSSE DER 2 RAND-BILDER STEUERN
     1. Wert = minimale Breite
     2. Wert = responsive Breite
     3. Wert = maximale Breite
     größer = Bilder werden größer */
  width: clamp(210px, 16vw, 330px);

  margin: 0;
  pointer-events: none;
}

.news-section__side-image--left {
  /* HIER DIE POSITION DES LINKEN BILDES STEUERN */
  left: clamp(2rem, 4vw, 5rem);

  /* HIER HÖHE + DREHUNG DES LINKEN BILDES STEUERN */
  transform: translateY(-50%) rotate(-8deg);
}

.news-section__side-image--right {
  /* HIER DIE POSITION DES RECHTEN BILDES STEUERN */
  right: clamp(2rem, 4vw, 5rem);

  /* HIER HÖHE + DREHUNG DES RECHTEN BILDES STEUERN */
  transform: translateY(-50%) rotate(8deg);
}

.news-section__side-image-media {
  display: block;
  width: 100%;

  /* HIER DAS FORMAT DER RAND-BILDER STEUERN
     4 / 5 = hochkant
     3 / 4 = etwas breiter
     2 / 3 = noch höher */
  aspect-ratio: 4 / 5;

  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.08);
  outline: 1px solid rgba(255, 255, 255, 0.18);
}

.news-weather {
  display: flex;
  justify-content: center;
}

.news-weather__card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: min(100%, 920px);
  padding: 1.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  color: #fafafa;
}

.news-weather__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fafafa;
}

.news-weather__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.news-weather__content {
  min-width: 0;
  flex: 1 1 auto;
}

.news-weather__eyebrow {
  margin: 0 0 0.5rem;
  color: rgba(250, 250, 250, 0.82);
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-weather__place {
  margin: 0;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.2;
}

.news-weather__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.7rem 0 0;
  color: rgba(250, 250, 250, 0.96);
  font-family: "Montserrat-Medium", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.4;
  flex-wrap: wrap;
}

.news-weather__temp {
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.news-weather__separator {
  opacity: 0.65;
}

.news-weather__condition {
  font-family: "Montserrat-Regular", Arial, sans-serif;
}

.news-weather-note {
  width: min(100%, 1120px);
  margin: 4rem auto 0;
  text-align: center;
}

.news-weather-note__headline {
  max-width: 29ch;
  margin: 0 auto;
  color: #fafafa;
  font-family: "Fabiola Script", cursive;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.news-weather-note__text {
  max-width: none;
  margin: 1rem auto 0;
  color: #fafafa;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  white-space: nowrap;
}

.news-weather-note__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  margin-top: 1.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: #fafafa;
  color: #111111;
  text-decoration: none;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.news-weather-note__button:hover,
.news-weather-note__button:focus-visible {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  outline: none;
}

@media (max-width: 1299px) {
  .news-section__side-image {
    display: none;
  }
}

@media (max-width: 991px) {
  .news-section {
    min-height: clamp(440px, 52vw, 570px);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
  }

  .news-section__inner {
    padding-top: clamp(3.8rem, 7vw, 5rem);
    padding-bottom: clamp(6.25rem, 10vw, 7.25rem);
  }

  .news-weather__card {
    width: min(100%, 700px);
    gap: 1.35rem;
    padding: 1.3rem 1.4rem;
  }

  .news-weather__icon {
    width: 4.1rem;
    height: 4.1rem;
  }

  .news-weather__icon svg {
    width: 2rem;
    height: 2rem;
  }

  .news-weather__place {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
  }

  .news-weather__meta {
    font-size: clamp(1rem, 1.4vw, 1.08rem);
  }

  .news-weather__temp {
    font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  }

  .news-weather-note {
    width: min(100%, 760px);
    margin-top: 3.35rem;
  }

  .news-weather-note__headline {
    max-width: 24ch;
    font-size: clamp(1.75rem, 4.2vw, 2.5rem);
    line-height: 1.12;
  }

  .news-weather-note__text {
    max-width: 62ch;
    font-size: 1rem;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 767px) {
  .news-section {
    min-height: clamp(460px, 102vw, 590px);
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
  }

  .news-section__inner {
    padding-top: 3.15rem;
    padding-bottom: 5.25rem;
  }

  .news-weather__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
  }

  .news-weather__content {
    width: 100%;
  }

  .news-weather__meta {
    justify-content: center;
    gap: 0.45rem;
  }

  .news-weather__icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .news-weather__icon svg {
    width: 1.9rem;
    height: 1.9rem;
  }

  .news-weather-note {
    margin-top: 2.6rem;
  }

  .news-weather-note__headline {
    max-width: 18ch;
    font-size: clamp(1.45rem, 8vw, 2.1rem);
    line-height: 1.16;
  }

  .news-weather-note__text {
    margin-top: 0.65rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .news-weather-note__button {
    width: min(100%, 18rem);
    min-height: 3.2rem;
    margin-top: 1.2rem;
    padding: 0.9rem 1.35rem;
    font-size: 0.98rem;
  }
}