/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%; /* Stellt sicher, dass die Höhe 100% beträgt */
}


body {
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #1D0033 0%, #33003C 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;   
  background-size: cover;      
  color: #C5BFF8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


a {
  color: #333;
  text-decoration: underline;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: #13001C;
  color: #F6F6F6;
  padding: 1rem 0;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}
.logo img {
  height: 50px;
  width: auto;
}

.hamburger {
  font-size: 2.5rem;
  color: #A9A6F4;
  cursor: pointer;
  user-select: none;
  z-index: 1101;
  display: block;
}
#menu-toggle {
  display: none;
}

.main-nav {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  max-width: 330px;
  height: 100vh;
  background: linear-gradient(180deg, #1D0033 0%, #33003C 100%);
  color: #A9A6F4;
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem;
  gap: 1.5rem;
  transition: right 0.35s ease-in-out;
  z-index: 1060;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.4);
}


.nav-header {
  display: flex;
  align-items: center;
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 700;
  user-select: none;
}

.nav-header span {
  margin-right: 0.5rem;
}

.close-menu {
  font-size: 1.8rem;
  cursor: pointer;
  color: #C8C1F8;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-menu:hover,
.close-menu:focus {
  color: #A9A5F4;
  outline: none;
}

.nav-group {
  border-bottom: 1px solid #A9A5F4;
  padding-bottom: 0.5rem;
}

.nav-group h4 {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #F6F6F6;
}

nav a {
  display: block;
  text-decoration: none;
  color: #C8C1F8;
  font-size: 14px;
  margin-bottom: 5px;
}

nav a:hover,
nav a:focus {
  color: #A9A5F4;
  outline: none;
}


/* Wenn aktiviert: Menü sichtbar */
#menu-toggle:checked + .hamburger + .overlay + .main-nav {
  right: 0;
}

/* Wenn aktiviert: Overlay sichtbar */
#menu-toggle:checked + .hamburger + .overlay {
  opacity: 1;
  visibility: visible;
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1050;
  cursor: pointer;
}

/* Overlay anzeigen wenn Menü offen */
#menu-toggle:checked + .hamburger + .overlay {
  opacity: 1;
  visibility: visible;
}

/* Optional: Content abdunkeln und deaktivieren bei offenem Menü */
#menu-toggle:checked ~ main,
#menu-toggle:checked ~ footer,
#menu-toggle:checked ~ .hero {
  filter: brightness(0.8);
  pointer-events: none;
  user-select: none;
}

.hero {
  background: url('../assets/images/heart-3147976_1920.jpg') no-repeat center center/cover;
  padding: 6rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  min-height: 350px;  /* Mindesthöhe festlegen */
  
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(35, 0, 50, 0.6), rgba(60, 0, 70, 0.7)),
    rgba(0,0,0,0.4);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
}

.main-section {
  padding: 2rem 1rem;
}

.track_img {
	height: 100px;
	width: 100px;
}

.song_img {
	height: 100px;
	width: 100px;
}

.button {
    height: auto;
    font-family: Arial, Sans-Serif;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #ff3be6, #b700ff);
    border-radius: 5px;
    min-width: 7rem;
    padding: 0.55rem 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    line-height: 1.5rem;
    border: 2px solid #b700ff;
    transition: 0.25s ease;
}

.button:hover {
    background: linear-gradient(135deg, #ff5df0, #d200ff);
    border-color: #d200ff;
    transform: translateY(-2px);
	text-decoration: none;
	color: #fff;
}



.radiobox {
  margin: 40px auto;
  width: 90vw;
  max-width: 1190px;
  background: linear-gradient(180deg, #C7C1F8 0%, #BAB6F6 40%, #ABA8F4 100%);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
   border: 1px solid #e0dcca;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Linker Bereich mit ONAIR und Playbutton */
.player-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.onair-badge {
  font-size: 12px;
  font-weight: bold;
  width: 50px;
  text-align: center;
  position: relative;
  background-color: #ff5151;
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  text-decoration:none;
}

.onair-link {
  text-decoration:none !important;
}

.onair-link a:hover {
  text-decoration:none !important;
}

.play-button {
  width: 50px;
  height: 50px;
  background-color: #ff5151;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  animation: pulsePlayButton 1.5s infinite;
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
  border-bottom: 12.5px solid white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Pulsierende Animation */
@keyframes pulsePlayButton {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); /* Kein Schatten */
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 8px 5px rgba(255, 0, 0, 0.2); /* Maximaler Schatten */
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); /* Kein Schatten */
  }
}


/* Songbild */
.song_img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* Rechter Infobereich */
.radio-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.playlist-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #003765;
}

.playlist-timing {
  font-size: 0.875rem;
  color: #555;
}

.nowplaying {
  font-size: 0.95rem;
  color: #0a0a0a;
}

.hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0.5rem 0;
}

.radiobox, .welcome-text {
  max-width: 1190px;
  width: 90%;
  margin: 2rem auto 3rem auto; /* oben 2rem, unten 3rem, zentriert */
  box-sizing: border-box;
}

.welcome-text {
  background: linear-gradient(180deg, #C7C1F8 0%, #BAB6F6 40%, #ABA8F4 100%);
  color: #333333;      
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  border: 1px solid #e0dcca;
}

.welcome-text p + p {
  margin-top: 1rem;
}

.welcome-text strong {
  color: #000;
}

.latest-songs {
    margin: 10px auto;
	width: 90%;
	max-width: 1190px;
}

.song-box {
    display: flex;
    align-items: center;
    margin: 15px 0;
    background: linear-gradient(180deg, #C7C1F8 0%, #BAB6F6 40%, #ABA8F4 100%);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
	border-bottom: 2px solid #8D0060 !important;
	color: #3a3a3a;
}

.song-box-title {
  position: relative;
  clear: both;
  background-color: #8346BD;
  margin: 0;
  color: #fff;
  padding: 0.5rem 1em 0.5em 2em;
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1.56;
  text-align:left;
}

.song-box img {
    margin-right: 15px;
    border-radius: 8px;
}

.legal-text {
  margin-top: 2rem;
  margin-bottom: 4rem;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

.legal-text h2, .legal-text h3 {
  color: #006e8f;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1rem;
}


main.playlist-container {
    margin: 10px auto;
	width: 90%;
	max-width: 1190px;
}

.playlist-container section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.playlist-container h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.playlist-container p {
  font-size: 1rem;
  color: #C5BFF8;
}


.empfang-container {
  max-width: 1190px;
  width: 90%;
  margin: 2rem auto 3rem auto; /* oben 2rem, unten 3rem, zentriert */
  box-sizing: border-box;
  
}

.empfang-text {
  background: linear-gradient(180deg, #C7C1F8 0%, #BAB6F6 40%, #ABA8F4 100%);
  color: #333333;        
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  border: 1px solid #e0dcca;
}

.empfang-text h2, .empfang-text h3 {
  color: #000;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-align:center;
}

.empfang {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Zentriert die Boxen im Container */
  gap: 10px;
  max-width: 1190px;
  margin: 40px auto;
}

.empfang-box {
  background: #F9F9F9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1 1 calc(33% - 10px);
  max-width: 33%;
  margin: 5px 0;
  box-sizing: border-box;
}


.empfang-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
	border: 2px solid #e0dcca;
}

.empfang-box h3 {
    font-size: 1.3rem;
    color: #1B3E83;
    margin: 10px 0;
}

.empfang-box p {
    font-size: 1rem;
    color: #000;
}

.empfang-box a.button {
    display: inline-block;
    margin-top: 10px;
    color: #FFFFFF;
    background-color: #C30027;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.empfang-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    flex: 1;
    background: #F8F8F8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
	border: 2px solid #e0dcca;
}

.card:hover {
     transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #1b3e83;
}

.card-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 16px;
    color: #000;
    margin-bottom: 15px;
}


footer {
  background: #040010;
  color: #AEA9F5;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

footer a:hover{
  color: #F1F1F1;
  text-decoration: underline;
}


footer p {
  margin: 0.3rem 0;
}

@media (min-width: 600px) and (max-width: 768px) {
  .song_img {
    display: none;
  }
}

@media (max-width: 600px) {
  .song_img {
    display: none;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    word-break: break-word; /* falls nötig */
  }
  
  .empfang-box {
		flex: 1 1 calc(100% - 10px);
		max-width: 100%;
	}

  .hero p {
    font-size: 1rem;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
	.song_img {
		display:none;
	}

	.empfang-box {
		flex: 1 1 calc(50% - 10px);
		max-width: 50%;
	}
	
	.flex-container {
        flex-direction: column;
     }
	.text-section, .image-section {
         flex: 1 1 100%;
    }

}