﻿/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Bangers&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  width: 100%;
  background: #E42421;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-family: 'Bangers', cursive;
  font-size: 3em;
  letter-spacing: 2px;
  margin-left: 20px;
}

header h1 a {
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: inherit; /* Erbt die Farbe des Textes */
    font-family: 'Bangers', cursive; /* Stellt sicher, dass die Schriftart erhalten bleibt */
}

header h1 a:hover {
    color: inherit; /* Keine Farbänderung bei Hover */
}


/* Menü */
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu a {
  font-family: 'Bangers', cursive;
  font-size: 1.3em;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #F9D342;
}

/* Mobile Menü */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle svg {
  fill: white;
}

/* Standard-Link-Stil */
.event-content a {
  text-decoration: none; 
  color: inherit; 
  font-weight: normal;
  transition: color 0.3s ease; 
}

/* Hover-Effekt wie im Menü */
.event-content a:hover {
  color: #F9D342; /* Goldene Farbe beim Hover */
}



/* Hero Section */
.hero {
  width: 100%;

  background-position: center;
   background-image: url('Bilder/Hintergrund1.jpg');
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .hero-content {
  z-index: 1;
}

.hero h2 {
  font-family: 'Bangers', cursive;
  font-size: 4em;
  margin-bottom: 20px;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  margin-bottom: 30px;
}

.hero .cta-button {
    background-color: #F9D342; 
    color: #333; 
    padding: 20px 40px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block; /* Hier wichtig */
}


.hero .cta-button:hover {
    transform: scale(1.05);
}



/* Hero2 Section (Links-Bündig) */
.hero2 {
  width: 100%;
  background-image: url('Bilder/Hintergrund1.jpg');
  background-position: center;
  background-size: cover;
  color: white;
  text-align: left;
  padding: 150px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

.hero2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 55%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.hero2 .hero2-content {
  z-index: 1;
  position: relative;
  width: 55%; /* Gleiche Breite wie das Overlay */
  padding-left: 35px;
  margin-top: 50px;
  padding-right: 30px;
}


  .hero h2 {
    font-size: 2.5em;
  }
  
  .hero2 p {
  font-size: 1.2em;
  margin-bottom: 30px;
  }




/* Events */
.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.event-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.event-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.event-card .event-content {
  padding: 20px;
}

.event-card h3 {
font-family: 'Roboto', sans-serif;
font-weight: 900;
  font-size: 2em;
  margin-bottom: 10px;
}

.event-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  color: #666;
}

.event-card a {
  text-decoration: none; /* Keine Unterstreichung */
  color: inherit; /* Vererbt die Textfarbe vom übergeordneten Element */
}

.event-card a:hover {
  color: #F9D342; /* Goldene Farbe beim Hover */
}




.accordion {
	width: 90%;
	max-width: 800px;
	margin: 40px auto;
	background-color: #ffffff;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	opacity: 0.75;

}
 .schedule-header {
	background-color: #333;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: bold;
	font-size: 1.2em;
	border-radius: 5px 5px 0 0;
	color: #fff;
	
}
		
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.2s ease-out;
	background-color: #fff;
	padding: 0 20px;
	border-radius: 0 0 10px 10px;
	color: #333;
}
.schedule-item.active .accordion-content {
	max-height: 800px;
	padding: 20px;
	transition: max-height 0.4s ease-in, padding 0.2s ease-in;
}

.schedule-item {
	border-bottom: 1px solid #dddddd;
	cursor: pointer;
}

.schedule-header h3 {
	flex-grow: 1; /* Teaser soll den verfügbaren Platz einnehmen */
    text-align: left;
    margin: 0;
}

.accordion-content img {
	width: 100%;
	max-width: 400px;
	border-radius: 10px;
	margin-bottom: 15px;
}

/* Hover Effekt */
.schedule-item:hover .schedule-header {
	background-color: #F9D342;
}

.accordion-header::before {
    content: "\2022";
    font-size: 2em;
    color: #F9D342; /* Oder eine andere Farbe */
    background: none; /* Hintergrund entfernen */
    border-radius: 50%;
}


/* SVG Icon Styling */
.accordion-icon {
    width: 44px;
    height: 24px;
    margin-right: 10px;  /* Abstand zur Uhrzeit */
    stroke: #F9D342;  /* Farbe des Dreiecks */
    stroke-width: 4;
    transition: transform 0.3s ease, stroke 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

/* Wenn das Akkordeon geöffnet ist, drehe das Dreieck nach oben */
.schedule-item.active .accordion-icon {
    transform: rotate(180deg); /* Dreieck nach oben */
    stroke: #ffffff;  /* Farbe des Dreiecks im aktiven Zustand */
}

/* Optional: Weitere Animationen wie z.B. Skalierung */
.schedule-item.active .accordion-icon {
    transform: scale(1.1); /* Optional: Skalierung des Dreiecks im aktiven Zustand */
}





/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.footer p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
}

footer a {
  color: #F9D342;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #E42421;
}





/* Kontaktformular */

.contact-form label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 1.2em;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.contact-form button {
    background-color: #F9D342; /* Gelb */
    color: #333;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
}

.contact-form button:hover {
    background-color: #F9D342;
    transform: scale(1.03);
}

/* Fehlernachrichten */
.error-message {
    color: #E42421; /* Rot, passend zum Header */
    background-color: #ffe6e6;
    border-left: 5px solid #E42421;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Standardmäßig ausgeblendet */
    animation: fadeIn 0.3s ease-in-out;
}

/* erfolgreicher versand nachrichten */
.sucess-message {
    color: green; 
    background-color: #ffe6e6;
    border-left: 5px solid green;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
   
    animation: fadeIn 0.3s ease-in-out;
}

/* Einfache Fade-In-Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eingabefelder im Fehlerfall */
input.error, textarea.error {
    border-color: #E42421;
    background-color: #ffe6e6;
}

/* Button Hover */
button:hover {
    background-color: #F9D342;
    color: #333;
    cursor: pointer;
}


.alert-success {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}

.alert-error {
    background-color: #f44336;
    color: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}











/* Impressum Tabelle */
.impressum-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    color: #FFF;

}

.impressum-table th, 
.impressum-table td {
    padding: 15px 20px;
    text-align: left;

}

.impressum-table th {

    font-weight: bold;
    width: 250px;
}

.impressum-table tr:last-child td {
    border-bottom: none;
}



/* Pfeile nur im Overlay */
.overlay-navigation {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 54.5%; /* Die Breite des Overlays */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

/* Stil der Pfeile */
.overlay-arrow {
    font-size: 3.5em; /* Kleinere Schriftgröße für bessere Anpassung */
    color: #F9D342;
    background-color: rgba(0, 0, 0, 0.6);
    width: 60px; /* Breite des Kreises */
    height: 60px; /* Höhe des Kreises */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    pointer-events: auto;
}

/* Linker Pfeil */
.overlay-arrow.left-arrow {
    position: absolute;
    left: 7px;
    transform: translateX(0);
}

/* Rechter Pfeil */
.overlay-arrow.right-arrow {
    position: absolute;
    right: 0;
    transform: translateX(0);
}

/* Hover-Effekt */
.overlay-arrow:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    transform: scale(1.1);
}



/*Anfahrt*/
.map-container {
  height: 400px;
  margin-bottom: 30px;
}

#map {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.cta {
  margin-bottom: 30px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #f2a900;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e17b00;
}

























/* Mobile Anpassungen */
@media (max-width: 768px) {
	
	
	.header h1 { 
  font-size: 2em;
}
	
	
	  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    position: absolute;
    right: 20px;
    top: 70px;
    border-radius: 5px;
    z-index: 999;
  }

  /* Der Menü-Button (toggle) bleibt sichtbar */
  .menu-toggle {
    display: block; /* Sicherstellen, dass der Button angezeigt wird */
    cursor: pointer;
  }

  .hero2::after{
    width: 100%; /* Volle Breite auf mobilen Geräten */
  }

  .hero2 .hero2-content{
    width: 100%; /* Gleiche Breite wie Overlay */
    padding-left: 20px;
    margin-top: 20px;
  }

  .hero2 p{
    font-size: 1.1em;
  }

  .menu.open {
    display: flex;
  }

  .events {
    grid-template-columns: 1fr;
  }
  
  .schedule-header {
        flex-direction: column; /* Teaser und Uhrzeit untereinander auf kleinen Bildschirmen */
        align-items: flex-start; /* Teaser linksbündig */
        text-align: left; /* Umbruch verhindern */
    }
  
  .schedule-header span {
        margin-top: 10px; /* Abstand nach dem Teaser */
    }
  
  
  .headliner {
        flex-direction: column;
        text-align: center;
      }

  .headliner img {
	width: 150px;
	height: 150px;
  }
	
    .overlay-arrow {
        width: 50px;
        height: 50px;
        font-size: 2em;
    }

    /* Rechter Pfeil bei 100% Overlay */
    .overlay-navigation {
        width: 100%;
    }

    .overlay-arrow.right-arrow {
        right: 10px; /* Fügt einen kleinen Abstand hinzu */
    }
	
	.schedule-header {
		flex-direction: column;
		align-items: flex-start;
		font-size: 1em;
	}

	.accordion-content img {
		max-width: 100%;
	}
}
