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

body {
  font-family: verdana, sans-serif;
  line-height: 1.6;
}

/* Farben */
:root {
  --color1: #eda35b; /* Hintergrundfarbe 1 braun-orange*/
  --color2: #8b61aa; /* flieder */
  --color3: #a59180; /* Hintergrundfarbe 2 */
  --color4: #be5425; /*rotbraun*/
  --color5: #965651; /*braunviolett*/
  --color6: #613740; /*dunkelviolett*/
  --gap: 1rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem); /* dynamische Größe analog zu h1 */
  color: var(--color2);
  line-height: clamp(2rem, 6vw, 3rem); /* dynamische Größe analog zu h1 */
}

h2 {
  font-size: clamp(1rem, 4vw, 1.8rem); /* etwas kleiner als h2 */
  color: var(--color2); /* gleiche Farbe wie h2, für Konsistenz */
  line-height: clamp(1.5rem, 4vw, 2.2rem); /* etwas kleiner als h2 */
}

h1,
h2 {
  width: 100%;
}

p {
  color: var(--color6);
  hyphens: auto;
}

a {
  transition: fill 0.1s, color 0.3s;
}

/* Header mit großem Bild */

header {
  background: url("img/header2.jpg") no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center; /* vertikal zentriert */
  justify-content: left;
}

header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin: 0;
}

nav {
  background: var(--color6);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Standard: Navigation horizontal */
nav ul {
  list-style: none; /* entfernt die Punkte */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0; /* entfernt Standard-Einrückung */
  margin: 0;
}

/* Standard: Navigation horizontal */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 25px;
}
nav ul li a {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover {
  color: var(--color1);
}

.button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--color6);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s;
  border: none;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background-color: var(--color4);
}

/* Social Media Icons im Header */

.social-links {
  display: flex;
  gap: 20px;
  width: fit-content;
}

.social-links a {
  color: var(--color2); /* gleiche Farbe wie h1 */
  text-decoration: none; /* Unterstreichung weg */
}

.social-links a:hover {
  color: white; /* Orange beim Hover */
}

a svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  display: inline-block; /* Inline beibehalten */
}

/* E-Mail Links farblich anpassen */
a[href^="mailto:"] {
  color: var(--color2);
  font-weight: bold;
  text-decoration: none;
}

a[href^="mailto:"]:hover {
  color: white; /* beim Hover z. B. orange, passend zu deinem Design */
  text-decoration: underline;
}

.menu-toggle {
  display: none; /* Standardmäßig ausgeblendet (Desktop) */
  font-size: 2rem;
  cursor: pointer;
}

.faq-list details {
  border-bottom: 2px solid var(--color6);
  padding: 15px 0;
}

.faq-list summary {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color6);
  cursor: pointer;
  list-style: none; /* entfernt den Standard-Dreieck-Marker */
  position: relative;
}

.faq-list summary::after {
  content: "←";
  position: absolute;
  right: 0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(-90deg);
}

.faq-list p {
  margin-top: 10px;
  color: var(--color6);
}

/*Kontakt*/

.contact-form {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  color: var(--color6);
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  background: var(--color6);
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--color2);
}

.form-gdpr {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color6);
}

/* Abschnitte */
section {
  scroll-margin-top: 50px;
  padding: 80px 20px;
  min-height: 100vh;
  text-align: left; /* Text linksbündig */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto 1fr;
  gap: 2rem;
  column-gap: 20px;
}

/* Überschriften und Bilder trotzdem zentrieren */
section > * {
  grid-column-start: 2;
}

/* Listen mit etwas Abstand linksbündig */
section ul {
  list-style: disc; /* klassische Aufzählungspunkte */
  padding-left: 20px; /* Einzug nach links */
  text-align: left; /* Text linksbündig */
  color: var(--color6); /* gleiche Farbe wie Absätze */
}

section li {
  margin-bottom: 10px; /* Abstand zwischen den Punkten */
  color: var(--color6); /* gleiche Farbe wie Absätze */
}

section img {
  width: 100%;
  height: auto;
  display: block;
}

section a {
  color: var(--color2);
}

section a:hover {
  color: white;
}

.topbar {
  background: var(--color6);
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Musik Boxen nebeneinander */
.musik-box-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap; /* falls nicht genug Platz, umbrechen */
  grid-column-start: 1;
  grid-column-end: 4;
}

.musik-box {
  flex: 1 1 30%;
  background: rgba(255, 255, 255, 0.05); /* optional leichter Hintergrund */
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#uebermich {
  background: var(--color1);
}

#musik {
  background: var(--color3);
}

#termine {
  background: var(--color1);
}

#faq {
  background: var(--color3);
}

#kontakt {
  background: var(--color1);
}

/* Footer */
footer {
  background: var(--color6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0px;
}

footer p {
  color: white;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: var(--color1);
}

/* Responsive */

@media (max-width: 1024px) {
  nav ul li {
    margin: 0 15px;
  }
  nav ul li a {
    font-size: 1.3rem;
  }

  section {
    grid-template-columns: 1fr;
  }

  section > * {
    grid-column-start: 1;
  }

  .musik-box-container {
    grid-column-start: 1;
    grid-column-end: 2;
  }
}

@media (max-width: 768px) {
  .musik-box-container {
    flex-direction: row;
  }

  .musik-box {
    width: 100%;
    flex-basis: 100%;
  }

  .menu-toggle {
    display: block;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: var(--color6);
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 2000;
  }

  nav ul.active {
    display: flex; /* wird beim Klick angezeigt */
  }

  nav ul li {
    margin: 15px 0;
  }
  section {
    scroll-margin-top: 100px;
  }
}

html {
  scroll-behavior: smooth;
}

#impressum {
  background: var(--color3); /* eine passende Hintergrundfarbe */
  padding: 60px 20px;
  text-align: center;
}
