.manoeverbericht-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 0 6rem 0;
}

@media only screen and (min-width: 1200px) {
.manoeverbericht-wrapper {
  max-width: 93rem;
  }
}

/* ###################################################################### */
/* ### Gemeinsame Breite für hero.jpg, karte.jpg, Steckbrief, Text ### */
/* ### und Galerie - alle Elemente sind exakt gleich breit ### */
/* ###################################################################### */

.manoeverbericht-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ###################################################################### */
/* ### Herobild ### */
/* ###################################################################### */

.manoeverbericht-hero {
  width: 100%;
  margin-bottom: 1.5rem;
}

.manoeverbericht-hero img {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 768px) {
.manoeverbericht-hero img {
  max-height: 18rem;
  }
}

/* ###################################################################### */
/* ### Übungsraumkarte ### */
/* ###################################################################### */

.manoeverbericht-karte {
  width: 100%;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.manoeverbericht-karte img {
  width: 100%;
  border: 1px solid #000;
}

.manoeverbericht-karte figcaption {
  font-size: 0.9rem;
  color: #3e3f51;
  margin-top: 0.5rem;
}

/* ###################################################################### */
/* ### Steckbrief ### */
/* ###################################################################### */

.steckbrief {
  background-color: #3e3f51;
  color: #ffcc33;
  width: 100%;
  margin: 0 auto 3rem auto;
}

.steckbrief dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1rem;
  padding: 2rem;
  border: 1px solid rgb(0, 0, 0);
}

.steckbrief dt {
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
.steckbrief dl {
  grid-template-columns: 1fr;
  grid-gap: 0.2rem;
  padding: 1.5rem;
  }

.steckbrief dt {
  margin-top: 0.5rem;
  }
}

/* ###################################################################### */
/* ### YouTube-Video (DSGVO-konform: Klick-Vorschau, iframe erst on-click) ### */
/* ###################################################################### */

.manoeverbericht-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
  background-color: #000;
  overflow: hidden;
}

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

.video-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 3.5rem;
  background-color: rgba(62, 63, 81, 0.85);
  border-radius: 12px;
  transition: background-color 150ms;
}

.video-facade-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.9rem 0 0.9rem 1.5rem;
  border-color: transparent transparent transparent #ffcc33;
}

.video-facade:hover .video-facade-play,
.video-facade:focus .video-facade-play {
  background-color: rgba(255, 87, 34, 0.9);
}

@media only screen and (max-width: 480px) {
  .video-facade-play {
    width: 3.5rem;
    height: 2.5rem;
  }
  .video-facade-play::before {
    border-width: 0.6rem 0 0.6rem 1rem;
  }
}

.video-consent-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  background-color: #3e3f51;
  color: #f0f0f0;
}

.video-consent-placeholder p {
  max-width: 32rem;
  font-size: 0.95rem;
  margin: 0;
}

.video-consent-btn {
  background-color: #ffcc33;
  color: #3e3f51;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 150ms, color 150ms;
}

.video-consent-btn:hover,
.video-consent-btn:focus {
  background-color: #ff5722;
  color: #ffffff;
}

@media only screen and (max-width: 480px) {
  .video-consent-placeholder p {
    font-size: 0.85rem;
  }
  .video-consent-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* ###################################################################### */
/* ### Text ### */
/* ###################################################################### */

.manoeverbericht-text {
  width: 100%;
  margin-bottom: 2rem;
}

.manoeverbericht-text img {
  width: 100%;
  margin-bottom: 1.5rem;
}

.manoeverbericht-text blockquote {
  color: #ffcc33;
  background: #3e3f51;
  list-style-type: square;
}

.manoeverbericht-text blockquote h3 {
  padding: 0.5rem 0.5rem 0 0.5rem;
}

.manoeverbericht-text blockquote ul {
  padding: 1rem 1rem 1rem 1.5rem;
  margin-bottom: 2rem;
}

.manoeverbericht-text ul {
  padding-left: 1rem;
  line-height: 1.5em;
}

.manoeverbericht-info {
  background-color: #3e3f51;
  color: #ffcc33;
}

.manoeverbericht-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid rgb(0, 0, 0);
}

.manoeverbericht-info dt {
  font-weight: bold;
}

/* ###################################################################### */
/* ### Galerie (unter dem Text, dreispaltig, gleiche Breite wie Hero) ### */
/* ###################################################################### */

.manoeverbericht-gallery {
  width: 100%;
}

.manoeverbericht-gallery ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

.manoeverbericht-gallery li {
  display: block;
}

.manoeverbericht-gallery img {
  width: 100%;
  display: block;
}

@media only screen and (max-width: 768px) {
.manoeverbericht-gallery ul {
  grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 480px) {
.manoeverbericht-gallery ul {
  grid-template-columns: 1fr;
  }
}

/* ###################################################################### */
/* ### Related ### */
/* ###################################################################### */

.related {
  max-width: 500px;
  margin: 5% auto 3% auto;
}

.related h2 {
  padding: 1% 3%;
  font-size: 1rem;
}

.related ul {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  grid-gap: 0.5rem;
  padding: 2%;
}

@media (max-width: 480px) {
  .related h2 {
    margin-left: 8%;
  }
  .related ul {
    display: grid;
    grid-template-columns: auto auto;
    margin: 0 10% 0 10%;
  }
}
