* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.volume-dropdown {
  position: relative;
}

.domainTitel {
  font-size: 25px;    /* kleiner, exakt wie gewünscht */
  letter-spacing: 4px;     /* dein Stil bleibt */
  color: #eae7dd;
  padding: 0px 15px;         /* seitlicher Abstand */
  line-height: 15px;       /* Text exakt in der Header-Höhe */
  white-space: nowrap;     /* keine Umbrüche */
}

.projekt-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  width: 100%;
  max-width: 100%;   /* 🚑 verhindert, dass sie größer wird */
  overflow-x: hidden; /* 🚑 falls doch was rausrutscht */
}


.projekt-btn {
  flex: 1 1 auto;               /* wächst, wenn Platz da ist */
  text-align: center;
  background-color: #eae7dd;
  color: #2f3640;
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: 0;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;          /* kein Zeilenumbruch im Text */
}

.projekt-btn:hover {
  background-color: white;
  color: #2f3640;
}
#volumeToggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #658494;
}

#volumeToggle:hover {
  color: #2e2e2e;
}

#volumeContainer {
  position: absolute;
  bottom: -20px;
  left: 470px;
  background: #2d4a50;
  padding: 0px 0px;
  border-radius: 0px;
  z-index: 100;
}

.track-marquee {
  display: inline-block;
  width: 260px;          /* Sichtbarer Bereich */
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
}

.track-marquee span {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(0); }   /* 👉 bleibt 25% der Zeit = 5s stehen */
  100% { transform: translateX(-100%); }
}
.hidden {
  display: none;
}

#ticker {
  background-color: #eae7dd;
  color: #2d4a50;
  font-family: sans-serif;
  font-size: 0.8rem;
  padding: 5px 0px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stream-cover {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0px;   /* RUNDUNGEN WEG */
  margin: 0;            /* KEIN ABSTAND */
  padding: 0;
  border: none;         /* KEIN RAHMEN */
  box-shadow: none;     /* KEIN SHADOW */
  display: block;       /* Sicherstellen, dass’s bündig ist */
}




body {
  font-family: Arial, sans-serif;
  background-color: #f2f5fa;
  color: #5f76a7;
}

header {
  background-color: #658494;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo img {
  height: 50px;
}

.hoerer-anzeige {
  margin-left: 10px; /* Abstand vom rechten Rand */
    font-size: 0.7rem;
  color: #2f3640;
  background-color: #eae7dd;
  padding: 15px 10px;
  border-radius: 0px;
  font-weight: bold;
}


.titel-anzeige {
  margin-left: 10px;
  font-size: 0.7rem;
  color: #2f3640;
  background-color: #eae7dd;
  padding: 15px 10px;
  border-radius: 0px;
  font-weight: bold;

  display: inline-block;
  max-width: 150px;   /* feste Box */
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}

.titel-anzeige span {
  display: inline-block;
  padding-left: 5px; /* etwas Abstand */
  animation: marqueeHeader 12s linear infinite;
}

@keyframes marqueeHeader {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(0); }   /* 👉 bleibt 25% der Zeit = 5s stehen */
  100% { transform: translateX(-100%); }
}





nav ul {
  margin-right: 30px; /* Abstand vom rechten Rand */
    list-style: none;
  display: flex;
  gap: 0px;
}

nav ul li a {
  background-color: #eae7dd;
  color: #2f3640;
  font-size: 0.8rem;
  padding: 15px 10px;
  border-radius: 0px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 0px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: white;
  color: #2f3640; /* bleibt gleich für Konsistenz */
}



.hero {
  position: relative;
  width: 100%;
  height: 350px; /* 💥 Dein fester BANNER */
  overflow: hidden; /* WICHTIG: Versteckt überlaufende Bilder */
}



.overlay {
  position: absolute;
  bottom: 0;
  right: 20px;

  transform: scale(1.0);         /* 👈 skaliert alles auf 80 % */
  transform-origin: bottom right; /* 👈 Skalierung erfolgt ab der Ecke! */

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 0px;
  padding: 0px 0px;
  background-color: #f1eee4;
  border-radius: 0;

  width: fit-content;
  max-width: 100%;

  height: 80px;
}





.play-button {
  width: 90px;
  height: 90px;
    padding: 0 0px 0 0; /* 👈 20px Abstand nach links innen */
  background-color: #658494; /* 👈 dunkles Blau */
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="35,25 75,50 35,75" fill="white"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="35,25 75,50 35,75" fill="white"/></svg>') no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}


.play-button:hover {
  background-color: #ffffff;
}

.info-wrapper {
  position: relative;
  width: fit-content;     /* 👈 skaliert nach Inhalt */
  height: 80px;
  margin-left: 3px;      /* 👈 Abstand vom Rand */
}

.info-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fffcf5;
  z-index: 0;
  border-radius: 0;
}

.info-content {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  font-size: 1rem;
  color: #6e888d;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}


.willkommen-banner {
  font-size: 72px;
  font-weight: 900;
  text-align: center;
  color: #658494;
  padding: 10px 10px;
  background-color: #eae7dd;
  letter-spacing: 5px;
  width: 100%;
  height: 125px;
}

.naer-button-wrapper {
  margin-top: 1.5em;
}

.naer-button {
  display: inline-block;
  background-color: #dfdbd0;
  color: #658494;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 0; /* WICHTIG: KANTIG! */
  text-decoration: none;
  font-family: inherit;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

.naer-button:hover {
  background-color: #365055;
  color: #658494;
}






@media (max-width: 768px) {
  header, nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul {
    padding: 0;
    margin-top: 10px;
  }

  .overlay {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    padding: 10px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .info {
    font-size: 1rem;
    padding: 10px 20px;
    text-align: center;
  }

  .willkommen-banner {
    font-size: 36px;
    padding: 30px 10px;
  }

  .logo {
    flex-direction: column;
    gap: 5px;
  }

  .logo img {
    height: 40px;
  }

  .hoerer-anzeige {
    font-size: 1.0rem;
    padding: 0px 0px;
  }
}

.volume-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

#volumeContainer {
  position: absolute;
  top: 50%;               /* mittig am Button */
  left: 110%;             /* rechts vom Button */
  transform: translateY(-50%); /* sauber vertikal zentriert */
  background: #eae7dd;
  padding: 10px 10px;
  z-index: 200;
  white-space: nowrap;
}

#volumeContainer input[type="range"] {
  width: 120px;
}

.hidden {
  display: none;
}



.intro-section {
  margin: 0;
  padding: 0;
}

.whitebox {
  display: flex;
  flex-wrap: wrap;
  background-color: #658494;
  padding: 0px;
  margin: 0px;
  border-radius: 0px;
  width: 100%;
}

.column.left,
.column.right {
  padding: 0;
  margin: 0;
}

.column.left {
  flex: 1 1 40%;
  max-width: 40%;
}

.column.right {
  flex: 1 1 60%;
  max-width: 60%;
  padding: 40px;
  box-sizing: border-box;
}

.column.left .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.column.right h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #ffffff;
}

.column.right p {
  font-size: 1em;
  line-height: 1.6;
  color: #feffff;
}

@media (max-width: 768px) {
  .whitebox {
    flex-direction: column;
  }
  .column.left, .column.right {
    max-width: 100%;
  }
}

.footer {
  background-color: #2d4a50;
  color: #eae7dd;
  text-align: center;
  padding: 0px;
  font-size: 0.9em;
  margin-top: 0px;
}

.footer a {
  color: rgb(0, 162, 255);
  text-decoration: none;
  margin: 0 0px;
}

.footer a:hover {
  text-decoration: underline;
}

.slider {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.slides {
  display: flex;
    animation: slide 20s infinite; /* 3x30 Sekunden */
  width: 100vw; /* GANZ WICHTIG: begrenzt auf die Viewport-Breite */
}


.slide {
  flex: 0 0 100vw;
  max-width: 100vw;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* GANZ sichtbar, NICHT gestreckt oder beschnitten */
  display: block;
}




/* Animation */
@keyframes slide {
  0%      { transform: translateX(0%); }
  25%     { transform: translateX(0%); }

  35%     { transform: translateX(-100%); }
  60%     { transform: translateX(-100%); }

  70%     { transform: translateX(-200%); }
  95%     { transform: translateX(-200%); }

  100%    { transform: translateX(0%); }
}





