* { box-sizing: border-box; }
body {
  margin: 0;
  color: #30261e;
  background: #eee2cf;
  font: 17px/1.65 Arimo, Arial, sans-serif;
}
a { color: #873e36; }
a:focus-visible { outline: 3px solid #a36713; outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 20px; background: white; padding: 10px; z-index: 10; }
.skip:focus { top: 10px; }
.sheet {
  position: relative;
  max-width: 1100px;
  margin: 44px auto;
  padding: 42px clamp(18px, 5vw, 60px) 26px;
  border: 1px solid #dfc6a5;
  background: #fff4e3;
  box-shadow: 8px 9px #c5665e;
}
.tape {
  position: absolute;
  top: -14px;
  left: 42%;
  width: 16%;
  height: 27px;
  background: #c5665e;
  transform: rotate(-2deg);
}
.video-intro { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.video-kicker {
  margin: 0 0 6px;
  color: #873e36;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2 { color: #b94f49; font-family: Caveat, cursive; font-weight: 700; line-height: 1.12; }
h1 { font-size: clamp(42px, 7vw, 64px); margin: 0 0 12px; }
h2 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 10px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.video-karte { background: #fffaf2; border: 1px solid #dfc6a5; border-radius: 6px; overflow: hidden; }
.video-platzhalter {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  color: #873e36;
  background: linear-gradient(140deg, #f5e6cc, #efd2bc);
  border-bottom: 1px solid #dfc6a5;
}
.video-platzhalter span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #c5665e;
  border-radius: 50%;
  background: #fff9ef;
}
.video-platzhalter p, .video-text p:last-child { margin: 0; }
.video-text { padding: 20px; }
.video-karte video, .video-karte iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid #dfc6a5; font-size: 14px; }
@media (max-width: 1140px) { .sheet { margin-inline: 18px; } }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

/* Container für Nextcloud HTML5-Videos */
.video-container {
    width: 100%;
    max-width: 800px; /* Begrenzt die maximale Breite auf großen Bildschirmen */
    margin: 0 auto 30px auto; /* Zentriert das Video und gibt Abstand nach unten */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Schicker, dezenter Schatten */
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
}

/* Wrapper für bunny.net Iframes (erzwingt das perfekte 16:9 Kino-Format) */
.bunny-video-wrapper {
    position: relative;
    padding-top: 56.25%; /* Das entspricht exakt dem Seitenverhältnis 16:9 */
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bunny-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

