body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #141c22;
  color: white;
}

header {
  height: 60px;
  background-color: #141c22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5000;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-right {
  gap: 20px;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
}

.dropdown {
  background-color: #141c22;
  opacity: 0;
  transform: translateY(0px); /* Startposition oberhalb */
  max-height: 0;
  overflow: hidden;
  padding: 0px 20px; /* etwas Innenabstand für besseren Hover-Hintergrund */
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 230px;
  min-width: 500px;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    max-height 0.3s ease,
    padding 0.3s ease;
}

.nav-item.active .dropdown {
  opacity: 0.9;
  transform: translateY(0);
  max-height: 1000px; /* ausreichend hoch für alle Einträge */
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  pointer-events: auto;
}

.dropdown-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.dropdown-link:hover {
  color: #cccccc;
}

.dropdown-divider {
  height: 2px;
  background-color: #FAFAFA;
  width: 100%;
  margin: 6px 0; /* ↑↓ Abstand ober- und unterhalb der Linie */
}




.flag {
  height: 15px;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: white;
}

/* === Video-Abschnitte === */

.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Der Textblock darf die ganze Breite nutzen */
.video-text-fullwidth {
  margin: 40px;
  max-width: calc(100% - 80px); /* für 40px links + rechts */
  pointer-events: auto;
}

/* Der Button ist unabhängig rechts unten positioniert */
.fixed-bottom-right {
  position: relative;
  bottom: 40px;
  right: 40px;
  pointer-events: auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

/* Neuer Container für Text + Icons unten links */
.overlay-left {
  position: absolute;
  left: 40px;
  bottom: 40px;
  pointer-events: auto;
  max-width: calc(100% - 240px); /* rechts genug Platz für den Button lassen */
}

/* Titel wie vorher */
.overlay-left h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  margin-right: 0;
}

/* Button bleibt rechts unten */
.fixed-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
  pointer-events: auto;
}
/* === Icons und Tooltips === */

.icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-row img {
  height: 35px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip img {
  height: 35px;
  transition: transform 0.2s ease;
}

.tooltip:hover img {
  transform: scale(1.1);
}

.tooltiptext {
  visibility: hidden;
  background-color: #141c22;
  color: #fafafa;
  text-align: center;
  border-radius: 4px;
  padding: 6px 8px;
  position: absolute;
  z-index: 1;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* === Lautsprecher === */
/* Container für Titel + Lautsprecher-Icon */
.title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;                  /* 100% des Elterncontainers nutzen */
  box-sizing: border-box;
}
/* Titel */

/* Lautsprecher */
.inline-speaker {
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  margin-left: -10px;
  margin-bottom: 8px;
  flex-shrink: 0; /* verhindert, dass der Lautsprecher skaliert wird */
}

.speaker-icon-img {
  height: 40px;
  margin: 0;
  padding: 0;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.video-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}


/* === Button === */

.cta-button {
  background-color: #fafafa;
  height: 15px;
  width: auto;
  color: #141c22;
  padding: 10px 18px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #141c22;
  color: #fafafa;
}

.cta-button img {
  height: 14px;
  width: auto;
}

/* === Trenner zwischen Beiträgen === */

.section-divider {
  height: 2px;
  width: 100%;
  background-color: #141c22;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nur Dropdown-Pfeile rotieren, nicht alle nav-item-Bilder */
.dropdown-arrow {
  margin-left: 2px;
  margin-bottom: 2px;
  height: 7px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.nav-item.active .dropdown-arrow {
  transform: rotate(0deg);
}

.nav-item {
  display: relative;
  align-items: center; /* <<< sorgt für vertikale Zentrierung */
  gap: 5px;             /* optional: Abstand zwischen Text und Icon */
}

/* Schloss-Icon korrekt darstellen */
.lock-icon {
  height: 15px;
  margin-left: 2px;
padding-bottom: 2px;
  vertical-align: middle;
  display: inline-block;
}

