
html {
  overflow: hidden;
  height: 100vh;
}

body {
  margin: 0;
  overflow: scroll;
  height: 100vh;
  scroll-snap-type: y mandatory;
}

h1 {
  color: white;
}

.disclaimer {
    color: white;        
    font-size: 0.9rem;      
    max-width: 90%;         
    margin: 0 auto;
    padding: 24px;           
}

iframe{
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 90vh;
    padding: 24px;
}

section:nth-of-type(even) {
  background: #bf6b3c;
 
}

section:nth-of-type(odd) {
  background: #383838;
}

.cover-image {
    background-image: url('img/background.jpg'); /* Ersetze 'dein-bild.jpg' mit deinem Bildpfad */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Stellt sicher, dass das Bild die volle Höhe des Viewports einnimmt */
    position: relative; /* Notwendig für absolute Positionierung von Inhalten */
}

section {
  min-height: 100vh;
  margin-bottom: 2rem;
  scroll-snap-align: start;
  padding-top: 80px;
}

.card {
  max-width: 90%;
}

.teams-section {
    height: 100vh;
    min-height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa; /* optional, für bessere Optik */
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    /* maximal 90% der Viewport-Breite und -Höhe, stets eine Runde Ecke & Schatten für Rand-Effekt */
    max-width: 90vw;
    max-height: 90vh;
    box-sizing: border-box;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.08);
    padding: 24px;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-image {
    height: 100%;
    max-height: 90vh;   /* Carousel bleibt vollständig sichtbar, auch auf kleineren Displays */
}

.carousel-image {
    /* Bild passt sich Containergröße an, ohne abgeschnitten zu werden */
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

@media (max-width: 768px) {
    .carousel-wrapper {
        max-width: 98vw;
        max-height: 85vh;
        padding: 12px;
    }
    .carousel-inner,
    .carousel-image {
        max-height: 40vh;
    }
}

.navbar {
  height: 56px; /* Beispielhöhe, je nach Design anpassen */
}

.card-fixed-height {
    min-height: 300px; /* nach Bedarf anpassen */
    height: 100%;
    display: flex;
    flex-direction: row;
}