@font-face {
	font-family: 'OpenSansCondensed-Light';
	font-style: normal;
	font-weight: 300;
	src: local('OpenSansCondensed-Light'), local('OpenSansCondensed-Light'),
	url('fonts/OpenSansCondensed-Light.ttf') format('truetype');
	}

	@font-face {
		font-family: 'OpenSans-Light';
		font-style: normal;
		font-weight: 300;
		src: local('OpenSans-Light'), local('OpenSans-Light'),
		url('fonts/OpenSans-Light.ttf') format('truetype');
	}

    body {
      font-family: 'OpenSans-Light', sans-serif;
      margin: 0;
      padding: 0;
    }

    /* Hintergrund Overlay */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    /* Popup-Box */
    .popup-content {
      background: #fff;
      border-radius: 0px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      position: relative;
      display: flex;
      gap: 20px;
      max-width: 800px;
      width: 70%;
	  box-sizing: border-box;
    }

    /* Schließen-Button */
    .close-btn {
      position: absolute;
      top: 0px;
      right: 10px; 
      font-size: 30px;
      font-weight: bold;
      cursor: pointer;
      color: #444;
    }

    /* Flyer-Bereich */
    .popup-flyer {
      flex: 1;
    }
    .popup-flyer img {
      max-height: 70vh;
      border-radius: 0px;
    }

    /* Text-Bereich */
    .popup-text {
      flex: 1;
      display: flex;
      flex-direction: column;
      /*justify-content: space-between;*/
	  
    }

    .popup-text h2 {
      margin-top: 20px;
      font-size: 30px;
      color: #333;
    }
	
	.popup-text h3 {
      margin-top: 0;
      font-size: 18px;
      color: #333;
    }

    .popup-text p {
      font-size: 14px;
      color: #555;
	  
    }

    .event-btn {
      display: inline-block;
      padding: 10px 16px;
      background: #000000;
      color: #fff;
      text-decoration: none;
      border-radius: 0px;
      text-align: center;
	  width: 100%;
	  box-sizing: border-box;
	  margin-right: 20px;
    }
    .event-btn:hover {
      background: #EE1957;
    }

    /* QR-Code */
    .popup-qr {
		margin-top: 20px;
      text-align: left;
    }
    .popup-qr img {
      width: 120px;
      height: auto;
    }
	
	.blinki{
		color: #EE1957;
		font-size: 18px;
		animation: blinker 2s linear infinite;
	}
	
	@keyframes blinker {
	  50% {
		opacity: 0;
	  }
	}
	
	
	/* Tablet (bis 768px) */
	


@media (max-width: 968px) {
	
	#popup2{
	display: none;
	}
	
	.popup-overlay {
      position: absolute;
	 top: auto;
	}
	
	.popup-content {
    flex-direction: column;   /* untereinander statt nebeneinander */
    width: 90%;   /* breiter auf kleinen Screens */
	box-shadow: none;
	border: 1px solid #999;
	}
	
	 .popup-content {
    flex-direction: column;   /* untereinander statt nebeneinander */
               
    gap: 10px;
  }
 

  .popup-flyer img {
    max-height: none;         /* kein fixes Limit */
    width: 100%;              /* volle Breite */
    height: auto;
  }

  .popup-text {
    padding: 10px 20px;
  }

  .popup-text h2 {
    font-size: 24px;
  }
  
   .close-btn {
    position: fixed;          /* fixiert, immer sichtbar */
    top: 10px;
    right: 10px;
    z-index: 10000;
    background: #fff;
    border-radius: 50%;
    padding: 4px 10px;
    line-height: 1;
  }
}

@media (max-width: 950px) {
	
	
}

/* Mobile (bis 480px) */
@media (max-width: 500px) {
	
	#popup2{
		display: block;
	}
	
	.popup-overlay {
      position: absolute;
	  top: 0px;
	}
	
  .popup-content {
    width: 95%;               /* fast volle Breite */
    border-radius: 0;         /* cleanes mobiles Look */
    padding: 10px;
  }

 .popup-text {
    padding: 10px 0px;
  }

  .popup-text h2 {
    font-size: 20px;
  }

  .popup-text p,
  .popup-text h3 {
    font-size: 14px;
  }

  .event-btn {
    font-size: 14px;
    padding: 8px 12px;
  }

  .popup-qr img {
    width: 100px; /* etwas kleiner auf Mobile */
  }
}
