/* ==========================================================================
   CSS Variablen & Reset (Helles, freundliches Akustik-Design)
   ========================================================================== */
:root {
  --bg-overlay: rgba(252, 249, 245, 0.88);
  --surface: rgba(255, 255, 255, 0.94);
  --surface-alt: #f7f2ec;
  --text-main: #2b2623;
  --text-muted: #6e655f;
  --accent: #a66c46;
  --accent-hover: #875330;
  --accent-light: #efe5dc;
  --border: #e4dad0;
  --shadow: 0 8px 24px rgba(43, 38, 35, 0.08);
  --radius: 12px;
  --max-width: 1140px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after {
	/* [disabled]box-sizing: border-box; */
	margin: 0;
	padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #faf6f0;
  background-image: 
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url('../images/bg.jpg');
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ==========================================================================
   Header & Navigation (Sticky / Von ueberall erreichbar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--text-main);
}

.brand svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.lang-switch a {
  color: var(--text-muted);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* ==========================================================================
   Hauptinhalt & Karten-Layout
   ========================================================================== */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

h1 svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  flex-shrink: 0;
}

p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Home: Links Logo, Rechts Spotify (2-Klick), Unten Text
   ========================================================================== */
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.logo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.logo-box img {
  max-height: 220px;
  width: auto;
  margin-bottom: 1rem;
}

.logo-placeholder-svg {
  width: 96px;
  height: 96px;
  stroke: var(--accent);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   2-Klick Datenschutz-Boxen (Spotify, YouTube, Gaestebuch)
   ========================================================================== */
.privacy-embed-box {
  background: var(--surface-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.privacy-embed-box svg {
  width: 44px;
  height: 44px;
  stroke: var(--accent);
  margin-bottom: 0.75rem;
}

.privacy-embed-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--accent-light);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text-main);
}

/* ==========================================================================
   Musik-Hauptseite: 2 Grosse Button-Links (Original & Cover)
   ========================================================================== */
.music-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.music-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-main);
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
}

.music-card-btn svg {
  width: 64px;
  height: 64px;
  stroke: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}

.music-card-btn h2 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.music-card-btn:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-4px);
}

.music-card-btn:hover svg {
  transform: scale(1.08);
}

/* ==========================================================================
   Songs-Galerie (Original & Cover Songs - 20 YouTube Videos + Lyrics)
   ========================================================================== */
.back-bar {
  margin-bottom: 1.5rem;
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.song-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.song-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.yt-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.yt-wrapper .privacy-embed-box {
  min-height: 100%;
  height: 100%;
  padding: 1rem;
  border: none;
}

.yt-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Aufklappbare Lyrics */
details.lyrics-toggle {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
}

details.lyrics-toggle summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  user-select: none;
}

details.lyrics-toggle .lyrics-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  white-space: pre-line;
  color: var(--text-main);
  max-height: 220px;
  overflow-y: auto;
}

/* Textliste weiterer Cover-Songs */
.repertoire-list {
  columns: 2;
  column-gap: 2rem;
  list-style-position: inside;
  margin-top: 1rem;
}

.repertoire-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--accent-light);
}

/* ==========================================================================
   Bildergalerie & Lightbox (mit Vor-/Zurück-Navigation & Beschreibung)
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.photo-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--surface-alt);
  aspect-ratio: 1 / 1;
  position: relative;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(25, 22, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 82vw;
  max-height: 88vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption-box {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.lightbox-counter {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.lightbox-caption {
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  user-select: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: #fff;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 640px) {
  .lightbox-content {
    max-width: 94vw;
  }
  .lightbox-prev {
    left: 0.6rem;
    width: 40px;
    height: 40px;
  }
  .lightbox-next {
    right: 0.6rem;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Web-Links: Banner untereinander
   ========================================================================== */
.banner-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.banner-link {
  display: block;
  width: 100%;
  max-width: 728px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.banner-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.banner-link img {
  width: 100%;
  height: auto;
}

.banner-caption {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   Footer (Auf jeder Seite identisch)
   ========================================================================== */
.site-footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-main);
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.social-icon-link:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.social-icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.legal-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
}

.legal-links a {
  color: var(--text-muted);
}

.legal-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Design (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 820px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-links a {
    display: block;
    width: 100%;
  }

  .lang-switch {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 0.75rem;
    width: 100%;
  }

  .repertoire-list {
    columns: 1;
  }
}
