/* ============================================================
   Elena Vogel – Musik | v4 Prettified & Repaired Stylesheet
   ============================================================ */

:root {
  --bg: #F9F7F2;
  --surface: #FFFFFF;
  --text-primary: #1A1F2C;
  --text-secondary: #4A505C;
  --accent: #B8BEC6;
  --border: #E8E4DD;
  --shadow: 0 8px 30px rgba(26, 31, 44, 0.06);
  --radius: 6px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --link: #3A4250;
  --focus-ring: rgba(184, 190, 198, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--text-primary); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.2rem; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 0.8rem; }
h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); }

p { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--text-secondary); max-width: 65ch; }
a { color: var(--link); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-primary); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
section { padding: clamp(4rem, 8vh, 6rem) 0; }

/* ---------- Navigation ---------- */
nav {
  position: fixed; top: 0; left: 0; width: 100%; padding: 1.2rem 0;
  background: rgba(249, 247, 242, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 100; border-bottom: 1px solid var(--border); transition: all 0.3s ease;
}
nav.scrolled { box-shadow: var(--shadow); padding: 0.9rem 0; }
nav .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-primary); text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s ease; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--text-primary); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(to bottom, rgba(249,247,242,0.4), rgba(249,247,242,0.85)),
              url('https://images.unsplash.com/photo-1519683109079-d5f539e1552f?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  padding-top: 80px; position: relative;
}
.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero p { margin: 0 auto 2.5rem; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

.cta-btn {
  display: inline-block; padding: 1.1rem 2.8rem; background: var(--text-primary); color: var(--bg);
  text-decoration: none; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.3s ease; border: 1px solid var(--text-primary); cursor: pointer;
}
.cta-btn:hover { background: transparent; color: var(--text-primary); transform: translateY(-2px); }

/* ---------- Willkommens-Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.intro-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.35; color: var(--text-primary); border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.intro-points { display: grid; gap: 2.5rem; }
.intro-point { border-top: 1px solid var(--border); padding-top: 1.2rem; }
.intro-num { font-family: var(--font-display); font-size: 0.9rem; color: var(--accent); display: block; margin-bottom: 0.5rem; letter-spacing: 0.1em; }
.intro-point h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.about-img-wrapper { border-radius: var(--radius); overflow: hidden; width: 100%; }
.about-text p + p { margin-top: 1.2rem; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.8rem; color: var(--text-primary); margin-top: 2rem; }
.credentials { display: grid; gap: 0; margin-top: 3rem; border-top: 1px solid var(--border); }
.credential { padding: 1.4rem 0; border-bottom: 1px solid var(--border); }

/* ---------- Sektion Header ---------- */
.section-header { text-align: center; margin-bottom: 4rem; display: flex; flex-direction: column; align-items: center; }
.section-header p { margin-top: 1rem; }

/* ==========================================================================
   REPARATUR: Nahtlose Spalten & Perfekte Zentrierung ohne seitliche Ränder
   ========================================================================== */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 2rem; 
}

.service-card { 
  background: var(--surface); 
  border-radius: var(--radius); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  transition: all 0.4s ease; 
  display: flex; 
  flex-direction: column; 
  align-items: center;
  text-align: center;
  height: auto;
  min-height: 560px; /* Sicherer Raum für Text, Bild und trennende Linien */
}

.service-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow); 
  border-color: var(--accent); 
}

/* Der perfekt deckende Container für das Bild ohne Ränder links/rechts */
.service-img-container {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 220px;
}

.service-card h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 25px 0 10px 0;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin: 0 30px 18px 30px;
  line-height: 1.2;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 30px 30px 30px;
}

/* Die untere Liste drückt sich automatisch nach ganz unten */
.detail-list { 
  list-style: none; 
  margin-top: auto; 
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

.detail-list li { 
  font-family: var(--font-body);
  font-size: 0.85rem; 
  font-weight: 400;
  color: var(--text-secondary); 
  padding: 12px 20px; 
  border-top: 1px solid #F0ECE6;
  text-align: center;
}

.detail-list li:first-child {
  border-top: 1px solid var(--border);
}

/* ---------- Anlässe (Kein plötzliches Weiß!) ---------- */
.anlaesse { 
  background: var(--bg); /* Exakter Creme-Fluss beibehalten */
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border); 
}
.occasion-grid { display: grid; gap: 4rem; margin-bottom: 4rem; }
.occasion { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.occasion--light .ph-occasion { order: -1; }
.ph-occasion { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }

.formats-title { text-align: center; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 3rem; }
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 900px; margin: 0 auto 4rem; }
.format-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; transition: all 0.3s ease; text-align: center; }
.format-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.price-note { font-size: 0.85rem; color: var(--text-secondary); margin-top: 1.2rem; }

/* ---------- Auftritte & Hörproben (Responsiv gefixt) ---------- */
.performances { 
  background: var(--bg); /* Einheitlicher Creme-Fluss */
  border-bottom: 1px solid var(--border); 
}
.perf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.perf-item { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 2rem; }

.audio-player { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  background: var(--surface); 
  padding: 0.8rem 1.2rem; 
  border-radius: var(--radius); 
  border: 1px solid var(--border); 
  width: 100%; /* Verhindert das Herausragen auf Laptops */
  box-sizing: border-box;
}
.play-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--text-primary); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.play-btn svg { width: 12px; height: 12px; fill: var(--text-primary); }
.audio-progress { flex-grow: 1; height: 4px; background: var(--border); border-radius: 2px; position: relative; cursor: pointer; }
.audio-progress-fill { height: 100%; background: var(--text-primary); width: 0%; border-radius: 2px; }
.audio-time { font-size: 0.75rem; color: var(--text-secondary); min-width: 35px; text-align: right; }

/* ---------- Referenzen (Sektion intakt) ---------- */
.referenzen { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; display: flex; flex-direction: column; transition: all 0.3s ease; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--accent); height: 2.5rem; display: block; }
.testimonial blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.6; margin-bottom: 2rem; flex-grow: 1; }
.testimonial-person { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.4rem; }

/* ---------- Kontakt ---------- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.contact-details { margin-top: 2.5rem; display: grid; gap: 1.6rem; }
.steps { list-style: none; margin-top: 3rem; border-top: 1px solid var(--border); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.step-num { font-family: var(--font-display); color: var(--accent); font-size: 1.6rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group label { font-size: 0.9rem; color: var(--text-secondary); display: block; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { padding: 0.9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-family: var(--font-body); font-size: 1rem; width: 100%; }
.form-group textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 0.8rem; font-size: 0.85rem; color: var(--text-secondary); }
.consent input { margin-top: 0.25rem; }
.form-status { font-size: 0.9rem; min-height: 1.5em; }
.form-status.error { color: #8A3B2E; }
.thank-you { display: none; background: var(--surface); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); }

/* ==========================================================================
   OPTIMIERUNG: Radikal minimierter Footer mit perfekter Links-Rechts-Aufteilung
   ========================================================================== */
footer { 
  background: var(--text-primary); 
  color: rgba(255, 255, 255, 0.7); 
  padding: 2.5rem 0 1.5rem 0; 
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content { 
  display: flex; 
  justify-content: space-between; /* Trennt Sektionen sauber nach links und rechts */
  align-items: center; 
  flex-wrap: wrap; 
  gap: 1.5rem; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
  padding-bottom: 1.5rem;
}

.footer-links { 
  display: flex; 
  gap: 2rem; 
  list-style: none; 
  margin: 0;
  padding: 0;
}

.footer-links a { 
  color: rgba(255, 255, 255, 0.65); 
  font-size: 0.88rem; 
  letter-spacing: 0.03em;
  transition: color 0.25s ease; 
}

.footer-links a:hover { 
  color: #ffffff; 
}

.copyright { 
  margin-top: 1.2rem; 
  font-size: 0.78rem; 
  color: rgba(255, 255, 255, 0.4); /* Visuelle Abdunkelung zur perfekten Trennung */
  text-align: center;
  width: 100%;
}

/* Platzhalter */
.ph { background-color: #EDEAE3; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-display); font-style: italic; }
.ph-landscape { width: 100%; height: 100%; }
.ph-circle { width: 50px; height: 50px; border-radius: 50%; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: 65px; left: 0; width: 100%; background: var(--bg); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .intro-grid, .about-grid, .contact-wrapper, .occasion { grid-template-columns: 1fr; }
  .occasion--light .ph-occasion { order: 0; }
  .footer-content { flex-direction: column; text-align: center; gap: 1.2rem; }
  .footer-links { flex-direction: column; gap: 0.8rem; }
}
