/* Root Color Variables */
:root {

  --background: #f5f3ef;
  --foreground: #222;
  --accent-hover: #444;
  --card-bg: #fff;
  --shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  --button-bg: #2f2f2f;
  --button-hover-bg: #444;
  --primary-font: 'Inter', sans-serif;
  --secondary-font: 'Playfair Display', serif;
  --accent: #00796b; /* motineo-grün/türkis */
}

/* General Reset and Styling */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--primary-font);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  padding: 0;
  
}

/* Header Styling */
header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background-color: #fdfcfb;
}

header h1 {
  font-family: var(--secondary-font);
  font-size: 3.2rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.15rem;
  margin: 0 auto 2rem;
  color: #444;
}

/* Call to Action Buttons */
.cta {
  background-color: var(--button-bg);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  margin: 1rem 0;
  display: inline-block;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.cta:hover {
  background-color: var(--button-hover-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Filter Container */
.filter-container {
  max-width: 960px;
  margin: 3rem auto 2rem;
  text-align: center;
}

.filter-container label {
  font-weight: 500;
  margin-right: 0.5rem;
}

select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Main Section */
main {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: auto;
}

/* Track Cards */
.track {
  background: var(--card-bg);
  margin-bottom: 2rem;
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

.track:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.track h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 600;
}

/* MP3 Player Styling */
audio {
  width: 100%;
  margin-top: 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: var(--card-bg);
  padding: 10px;
  border: 1px solid #ccc;
  transition: background-color 0.3s, transform 0.3s;
}

audio:hover {
  background-color: #f1f1f1;
  transform: translateY(-3px);
}

audio::-webkit-media-controls-panel {
  background-color: #2f2f2f;
  border-radius: 8px;
}

audio::-webkit-media-controls-play-button {
  background-color: #2f2f2f;
  border-radius: 50%;
  border: 2px solid #fff;
}

audio::-webkit-media-controls-volume-slider {
  background-color: #2f2f2f;
}

/* Section Styling */
section {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* License Section */
#license-section {
  background-color: var(--card-bg);
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 960px;
  margin: 3rem auto; /* Center the section */
}

/* License Request Section */
#license-request {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

section h2 {
  font-family: var(--secondary-font);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

section p {
  text-align: center;
}

/* Footer Styling */
footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 2rem 1rem;
  color: #888;
}

footer a {
  color: #888;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Scroll Button Styling */
/* Scroll Button Styling */
#backToTopFixed {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  background: var(--accent);
  color: white;
  padding: 1rem;
  border-radius: 8px; /* Abgerundete Ecken, aber weniger als zuvor für einen kantigeren Look */
  font-size: 2rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optionale Schatten für mehr Tiefe */
}

#backToTopFixed:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
}

#backToTopFixed::before {
  content: "\2191";  /* Unicode für den Pfeil nach oben */
  font-size: 2rem;  /* Größerer Pfeil */
  font-weight: bold;  /* Fettere Darstellung */
  transition: transform 0.3s ease;
}

#backToTopFixed:hover::before {
  transform: scale(1.2);  /* Leichte Vergrößerung beim Hover */
}

#confirmationMessage {
  display: none;
  background-color: #e6f7ea;
  color: #267a38;
  border: 2px solid #b6e2c2;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease-out;
  box-shadow: 0 0 20px rgba(38, 122, 56, 0.2);
  text-align: center;
}

.confirmation-box {
  background-color: #eaf9ea;
  border: 1px solid #b3e6b3;
  padding: 1rem;
  border-radius: 5px;
  color: #2e7d32;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.confirmation-box.show {
  opacity: 1;
}

form label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #222;
}

/* Sichtbare Checkbox */
form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  border: 1px solid #999;
  border-radius: 2px;
  cursor: pointer;
  accent-color: var(--accent, #00796b);
}



/* Submit-Button (nur falls notwendig) */
button.cta {
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  background-color: var(--accent, #00796b);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

