/* ============================================================
   Les Saxoiseaux — Stylesheet
   Mood: Klassisch · Monochrom · Vintage Jazz
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --color-bg:           #f4f0e8;   /* warmes Pergament */
  --color-surface:      #faf7f2;
  --color-dark:         #0f0f0f;   /* fast Schwarz */
  --color-dark-mid:     #1c1c1c;
  --color-text:         #1a1a18;
  --color-text-muted:   #6a6560;
  --color-gold:         #9a7d45;   /* gedämpftes Antikgold */
  --color-gold-light:   #e8dfc8;
  --color-border:       #d8d0c0;
  --color-border-dark:  #2e2e2e;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body:    "EB Garamond", "Garamond", "Georgia", serif;
  --font-label:   "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --transition: 0.2s ease;
  --max-width: 1080px;
  --section-gap: 6rem;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 18px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* RULE — dekorative Linie */
.rule {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: 1.25rem 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 0;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-dark {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-dark:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}

.btn-primary {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: #7a6030;
  border-color: #7a6030;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

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

.main-nav a {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.main-nav a:hover { color: var(--color-dark); }

.lang-switcher {
  display: flex;
  border: 1px solid var(--color-border);
}

.lang-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.25rem 0.55rem;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.lang-btn:last-child { border-right: none; }

.lang-btn:hover { color: var(--color-dark); background: rgba(0,0,0,0.04); }

.lang-btn.active {
  background: var(--color-dark);
  color: var(--color-bg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Placeholder — wird durch echtes Foto ersetzt */
.hero-image-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-dark-mid);
  background-image:
    radial-gradient(ellipse at 30% 40%, #2e2a24 0%, transparent 60%),
    radial-gradient(ellipse at 75% 70%, #0a0a08 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Gradient von unten — Text lesbar */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,8,0.85) 0%,
    rgba(10,10,8,0.35) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-subtitle {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3rem;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin-bottom: 2.5rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-gap) 0; }

.section-dark {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
}

.section-dark h2 { color: #fff; }
.section-dark h3 { color: var(--color-gold); }
.section-dark .section-intro { color: rgba(255,255,255,0.55); }
.section-dark .rule { background: var(--color-gold); }
.section-dark .btn { color: #fff; border-color: rgba(255,255,255,0.4); }
.section-dark .btn:hover { background: rgba(255,255,255,0.08); }

.section-tinted { background: #ede8de; }

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p { color: var(--color-text-muted); font-size: 1.05rem; }

.about-text p.standout {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-dark);
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0;
  border-left: 2px solid var(--color-gold);
  padding-left: 1.25rem;
}

.about-image-placeholder {
  background: #c8c0b0;
  aspect-ratio: 3/4;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7a7060;
  gap: 0.5rem;
  overflow: hidden;
  position: relative;
}

.about-image-placeholder span {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ============================================================
   MUSIKER
   ============================================================ */
.musicians-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}

.musician-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.musician-photo {
  position: relative;
}

.musician-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: #181816;
  border: 1px solid #2a2a28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 267'%3E%3C!-- Körper --%3E%3Cellipse cx='100' cy='210' rx='68' ry='72' fill='%232a2824'/%3E%3C!-- Hals --%3E%3Crect x='88' y='128' width='24' height='30' rx='4' fill='%232a2824'/%3E%3C!-- Kopf --%3E%3Cellipse cx='100' cy='108' rx='36' ry='40' fill='%232a2824'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 80%;
}

/* Echtes Foto: einfach img statt .musician-photo-placeholder */
.musician-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.1) brightness(0.95) sepia(0.15);
  display: block;
}

.musician-instrument {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.musician-info { padding: 0 0.25rem; }

.musician-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.musician-bio {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .musicians-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .musicians-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border-dark);
}

.event-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border-dark);
  transition: background var(--transition);
}

.event-date {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  line-height: 1.5;
}

.event-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.event-info span {
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.event-details {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  grid-column: 2;
}

.loading, .no-events { color: rgba(255,255,255,0.35); font-style: italic; font-size: 0.95rem; }
.error { color: #e05a4a; font-size: 0.95rem; }

/* ============================================================
   REPERTOIRE
   ============================================================ */
.rep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.rep-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.rep-item p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro-block h2 { margin-bottom: 0.5rem; }
.contact-intro-block .section-intro { font-size: 1rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  color: var(--color-text);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-dark);
}

.form-feedback {
  font-family: var(--font-label);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  letter-spacing: 0.03em;
}

.form-feedback.success { background: #eaf2e8; color: #2d5a2d; }
.form-feedback.error   { background: #f5e8e8; color: #8a2525; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.35);
  padding: 3.5rem 0;
  text-align: center;
  border-top: 1px solid #2a2a2a;
}

.footer-inner { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.footer-region {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255,255,255,0.3);
}

.footer-copy {
  font-family: var(--font-label);
  font-size: 0.7rem;
  opacity: 0.25;
  margin: 0.75rem 0 0;
}

/* ============================================================
   MOBILE NAV HAMBURGER
   ============================================================ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE — Tablet landscape (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { gap: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — Tablet portrait (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-gap: 4.5rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-placeholder {
    aspect-ratio: 16/9;   /* Landscape auf Tablet — nicht so hoch */
    max-height: 340px;
  }

  /* Musiker */
  .musicians-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }

  /* Events */
  .event-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.25rem 0;
  }
  .event-details { grid-column: 1; }  /* Fix: nicht mehr col 2 */

  /* Repertoire: Rahmen vereinfachen */
  .rep-grid {
    grid-template-columns: 1fr;
    border: none;
  }
  .rep-item {
    border: none;
    border-top: 1px solid var(--color-border);
    padding: 1.75rem 0;
  }
  .rep-item:last-child { border-bottom: 1px solid var(--color-border); }

  /* Kontakt */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-gap: 3.5rem; }

  .container { padding: 0 1.25rem; }

  /* Header: Hamburger einblenden, Links ausblenden */
  .nav-toggle { display: flex; z-index: 300; position: relative; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: var(--color-text);
  }

  .lang-switch {
    order: 10;
    margin-top: 1rem;
  }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { padding: 3rem 1.25rem 4rem; }
  .hero-content h1 { font-size: clamp(2.8rem, 12vw, 4rem); }

  /* About */
  .about-image-placeholder {
    aspect-ratio: 4/3;
    max-height: 280px;
  }

  /* Musiker: 2 Spalten bleiben, aber enger */
  .musicians-grid { gap: 1.5rem 1rem; }
  .musician-name  { font-size: 1rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Footer */
  .footer-region { letter-spacing: 0.06em; }
}

/* ============================================================
   RESPONSIVE — Kleines Mobile (≤ 420px)
   ============================================================ */
@media (max-width: 420px) {
  .hero-content h1 { font-size: clamp(2.4rem, 13vw, 3rem); }

  /* Musiker: 1 Spalte auf sehr kleinen Screens */
  .musicians-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }

  .event-date { font-size: 0.68rem; }
  .event-info strong { font-size: 1rem; }
}
