/* ------------------------------------------------------------
   Gemeinsames Stylesheet für alle Unterseiten
   (Danke, Datenschutz, FAQ, Impressum, Liveset, Partner, Hörproben)
------------------------------------------------------------- */

:root {
  --light-pink-color: #faf4f5;
  --primary-color: #3a3335;
  --secondary-color: #3ff7f3;
  --accent-text-color: #0a8f8b; /* lesbare Variante des Türkis auf hellem Grund */
  --white-color: #ffffff;
  --text-color: #333;
  --font-size-s: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --border-radius-s: 12px;
  --border-radius-m: 30px;
  --font-family: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

/* Zentrierte Seiten (Danke, Impressum, Partner, Hörproben) */
body.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.page-container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 30px;
}

.page-container.wide {
  max-width: 800px;
}

.page-container.full {
  max-width: none;
}

h1 {
  font-size: var(--font-size-xl);
  line-height: 1.3;
  margin: 0 0 30px;
}

h2 {
  font-size: var(--font-size-m);
  margin: 36px 0 8px;
}

p {
  font-size: var(--font-size-m);
  margin: 16px 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-text-color);
  outline-offset: 2px;
}

.button {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 28px;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-m);
  background: var(--primary-color);
  color: var(--white-color);
  font-size: var(--font-size-m);
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

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

.center {
  text-align: center;
}

/* Langer Rechtstext (Datenschutz): linksbündig, gut lesbar */
.legal-text {
  text-align: left;
}

.legal-text p,
.legal-text li {
  font-size: 1rem;
}

.legal-text ul {
  padding-left: 1.2em;
}

/* Platzhalter, die vor dem Hochladen ausgefüllt werden müssen */
.todo {
  background: #fff3a0;
  padding: 0 4px;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.faq-list > li {
  margin-bottom: 35px;
}

.faq-list strong {
  font-size: var(--font-size-m);
}

.faq-list p {
  margin-top: 10px;
  font-size: 1.05rem;
}

.faq-list img {
  max-width: 50%;
  margin-top: 15px;
  border-radius: var(--border-radius-s);
}

/* ---------------- Liveset ---------------- */
.set-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 0 auto 40px;
  max-width: 1100px;
}

.set-column {
  background: var(--white-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 300px;
}

.set-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.set-column li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.set-column li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.set-column a {
  color: inherit;
  text-decoration: underline;
}

.set-legend {
  text-align: center;
  font-size: 0.95rem;
  margin: -30px 0 50px;
}

/* ---------------- Partner ---------------- */
.partner-item {
  display: flex;
  align-items: center;
  background: var(--white-color);
  padding: 16px;
  border-radius: var(--border-radius-s);
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.partner-item img {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-right: 20px;
}

.partner-link {
  text-align: left;
  font-size: var(--font-size-m);
  font-weight: 600;
  text-decoration: none;
  flex-grow: 1;
  transition: color 0.2s ease;
}

.partner-link:hover {
  color: var(--accent-text-color);
}

/* ---------------- Hörproben ---------------- */
.track-list {
  padding: 0;
  list-style: none;
  text-align: left;
}

.track-list li {
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
}

.track-title {
  display: block;
  font-size: var(--font-size-m);
  margin-bottom: 10px;
}

.track-list audio {
  width: 100%;
}

/* ---------------- Mobil ---------------- */
@media screen and (max-width: 600px) {
  .page-container {
    padding: 40px 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }

  .button {
    font-size: 1rem;
    padding: 10px 24px;
  }

  .faq-list img {
    max-width: 100%;
  }

  .partner-item {
    flex-direction: column;
    text-align: center;
  }

  .partner-item img {
    margin: 0 0 12px 0;
  }

  .partner-link {
    text-align: center;
  }

  .set-column {
    width: 100%;
    max-width: 400px;
  }
}

/* ---------------- Songwünsche (für Handys optimiert) ---------------- */
.wish-page {
  max-width: 480px;
  padding: 40px 20px 60px;
}

.wish-card {
  background: var(--white-color);
  border-radius: 20px;
  padding: 28px 24px;
  margin: 0 0 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.wish-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.wish-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.wish-form {
  margin-top: 24px;
  text-align: left;
}

.wish-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.wish-form .optional {
  font-weight: 400;
  color: #777;
}

.wish-form input {
  width: 100%;
  padding: 14px;
  margin: 0 0 18px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius-s);
  font-family: inherit;
  font-size: 16px; /* verhindert automatisches Zoomen am iPhone */
  background: #fff;
  color: var(--primary-color);
}

.wish-form input:focus {
  outline: 2px solid var(--accent-text-color);
  outline-offset: 1px;
  border-color: transparent;
}

.wish-button {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: var(--border-radius-m);
  background: var(--primary-color);
  color: var(--white-color);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 8px 0 28px;
}

.wish-button:hover {
  background: #000;
}

.wish-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Honeypot-Feld unsichtbar machen (nicht display:none, das erkennen manche Bots) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wish-message {
  color: #b00020;
  background: #ffe5e5;
  border-left: 4px solid #b00020;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 16px 0 0;
  text-align: left;
  font-size: 0.95rem;
}

.wish-privacy,
.tip-note {
  font-size: 0.8rem !important;
  color: #777;
  margin: 0 !important;
}

.tip-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 12px;
}

.tip-button {
  flex: 1;
  max-width: 100px;
  padding: 14px 0;
  border-radius: var(--border-radius-m);
  background: #0070ba; /* PayPal-Blau */
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tip-button:hover {
  background: #005c99;
}

.small-link {
  font-size: 0.9rem;
}

/* ---------------- Live-Set (neu) ---------------- */
.liveset-page {
  max-width: 900px;
}

.liveset-intro {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.02rem;
}

.liveset-tools {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 -10px 26px;
  padding: 12px 10px;
  background: var(--light-pink-color);
}

.song-search {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 12px;
  padding: 12px 16px;
  border: 1px solid #d6cdd0;
  border-radius: var(--border-radius-m);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--primary-color);
}

.song-search:focus {
  outline: 2px solid var(--accent-text-color);
  outline-offset: 1px;
  border-color: transparent;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  padding: 7px 14px;
  border: 1px solid #d6cdd0;
  border-radius: var(--border-radius-m);
  background: #fff;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--primary-color);
}

.chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.song-group {
  margin-bottom: 30px;
  padding: 22px 24px 14px;
  border-radius: 20px;
  background: var(--white-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.song-group h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.song-group .count {
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: var(--border-radius-m);
  background: var(--light-pink-color);
  font-size: 0.8rem;
  font-weight: 500;
  vertical-align: middle;
}

.song-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 34px;
}

.song-list li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px solid #f1eaec;
  line-height: 1.35;
}

.song-title {
  display: block;
  font-weight: 600;
}

.song-artist {
  display: block;
  color: #7a7073;
  font-size: 0.88rem;
}

.song-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.song-link:hover .song-title {
  text-decoration: underline;
}

.video-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 9px;
  border-radius: var(--border-radius-m);
  background: var(--primary-color);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
}

.video-badge.static {
  margin-top: 0;
  vertical-align: middle;
}

.no-results {
  text-align: center;
  font-size: 1rem;
}

.wish-box {
  margin: 10px 0 30px;
  padding: 26px 24px;
  border-radius: 20px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.wish-box h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.wish-box p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.wish-box .button {
  margin-top: 18px;
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.wish-box .button:hover {
  background: transparent;
  color: #fff;
}

.back-link {
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .song-list {
    columns: 1;
  }

  .song-group {
    padding: 18px 18px 8px;
  }
}
