/* =========================================================
   WESTEND JAZZ – Designsystem "Küste"
   Maritime Farbwelt: Marine / Wasserblau / Mint / Sand
   ========================================================= */

:root {
  --marine: #0F6E7B;
  --marine-dark: #0A565F;
  --marine-soft: #115E6B;
  --wasser: #16B5C4;
  --wasser-dark: #0E8294;
  --coral: #FF6F61;
  --coral-dark: #E85A4D;
  --sun: #FFC247;
  --mint: #D8F0EC;
  --sand: #FFF7EC;
  --ink: #123C42;
  --text: #2b3d4a;
  --text-muted: #5a6b78;
  --white: #ffffff;
  --line: rgba(15, 110, 123, 0.14);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(15, 86, 95, 0.12);
  --shadow-sm: 0 4px 14px rgba(15, 86, 95, 0.10);

  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wasser-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-dark { background: var(--marine); color: var(--white); }
.btn-dark:hover { background: var(--marine-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; color: var(--marine); border-color: var(--marine); }
.btn-ghost:hover { background: var(--marine); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--marine);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 40px; width: auto; }
.brand .brand-name {
  color: var(--white); font-weight: 700; letter-spacing: 1.5px;
  font-size: 1.05rem; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--mint); font-size: .95rem; font-weight: 500; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--wasser); text-decoration: none; }
.nav-links .btn { color: var(--white); border: none; padding: .6rem 1.1rem; }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 1.7rem; cursor: pointer; padding: .25rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--marine-dark); padding: .5rem 1.25rem 1.25rem;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 80vh; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: .75rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,72,80,.45), rgba(11,72,80,.88)),
    var(--marine) center/cover no-repeat;
  color: var(--white);
}
.hero.has-photo {
  background:
    linear-gradient(180deg, rgba(11,72,80,.42), rgba(11,72,80,.86)),
    url("../img/BigBand2024.jpg") center 30%/cover no-repeat;
}
.hero-inner { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem); text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sun); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { color: var(--white); max-width: 16ch; margin: 0 auto .9rem; }
.hero .lead { color: var(--mint); font-size: 1.15rem; max-width: 48ch; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; height: 50px; }
.wave path { fill: var(--sand); }
.wave.to-white path { fill: var(--white); }
.wave.to-mint path { fill: var(--mint); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.sand { background: var(--sand); }
.section.mint { background: var(--mint); }
.section.marine { background: var(--marine); color: var(--white); }
.section.marine h2 { color: var(--white); }
.section.marine p { color: var(--mint); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .accent { width: 56px; height: 4px; background: var(--wasser); border-radius: 2px; margin: .9rem auto 0; }
.section-head p { color: var(--text-muted); max-width: 60ch; margin: .75rem auto 0; }
.label { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--marine); opacity: .6; font-weight: 600; }

/* ---------- Next gig card ---------- */
.next-gig {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm);
}
.gig-date {
  text-align: center; background: var(--marine); color: var(--white);
  border-radius: var(--radius-sm); padding: .8rem 1.1rem; min-width: 76px;
}
.gig-date .d { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.gig-date .m { font-size: .8rem; color: var(--sun); margin-top: .25rem; text-transform: uppercase; letter-spacing: 1px; }
.gig-body { flex: 1; min-width: 200px; }
.gig-body h3 { margin: 0 0 .25rem; }
.gig-body .meta { color: var(--text-muted); font-size: .95rem; margin: 0; }
.pill { background: var(--mint); color: var(--marine); font-weight: 600; font-size: .85rem; padding: .5rem 1rem; border-radius: var(--radius-sm); }

/* ---------- Concert list ---------- */
.gig-list { display: flex; flex-direction: column; gap: .75rem; max-width: 760px; margin: 0 auto; }
.gig-row {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: box-shadow .2s ease, transform .12s ease;
}
.gig-row:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.gig-row .ico { color: var(--wasser-dark); font-size: 1.6rem; flex-shrink: 0; }
.gig-row .info { flex: 1; }
.gig-row .info .t { font-weight: 600; color: var(--ink); }
.gig-row .info .s { color: var(--text-muted); font-size: .9rem; }
.gig-row .tag { font-size: .8rem; color: var(--marine); background: var(--sand); padding: .35rem .7rem; border-radius: var(--radius-pill); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.card .ico-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--marine);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
}

/* ---------- Wir suchen Dich ---------- */
.recruit { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.recruit .icon-big {
  width: 84px; height: 84px; border-radius: 50%; background: var(--marine); color: var(--wasser);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; flex-shrink: 0;
}
.recruit .body { flex: 1; min-width: 260px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.chip { background: var(--white); color: var(--marine); font-weight: 500; font-size: .9rem; padding: .45rem 1rem; border-radius: var(--radius-pill); }

/* ---------- Video / YouTube ---------- */
.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  max-width: 620px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.video-placeholder .frame {
  position: relative; padding-top: 56.25%; background: var(--marine);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 68px; height: 68px; border-radius: 50%; background: var(--wasser); color: var(--marine);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}

/* ---------- Booking / CTA ---------- */
.cta { text-align: center; }
.cta .btn { margin-top: .5rem; }

/* ---------- Forms ---------- */
.form-card { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfd;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wasser-dark); box-shadow: 0 0 0 3px rgba(22,181,196,.25);
}
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .85rem; color: var(--text-muted); }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.alert-success { background: #e1f5ee; color: #0f6e56; border: 1px solid #9fe1cb; }
.alert-error { background: #fceaea; color: #a32d2d; border: 1px solid #f0a0a0; }

/* ---------- Members / repertoire ---------- */
.member-group { margin-bottom: 1.75rem; }
.member-group h3 { color: var(--wasser-dark); border-bottom: 2px solid var(--mint); padding-bottom: .4rem; }
.member-list { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.member-list li { padding: .3rem 0; break-inside: avoid; }
.member-list li span { color: var(--text-muted); font-size: .9rem; }

.repertoire-list { columns: 3; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.repertoire-list li { padding: .35rem 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .member-list { columns: 1; } .repertoire-list { columns: 2; } }
@media (max-width: 460px) { .repertoire-list { columns: 1; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery img { border-radius: var(--radius); width: 100%; height: 200px; object-fit: cover; box-shadow: var(--shadow-sm); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--marine); color: var(--white); text-align: center; padding: clamp(2.5rem,6vw,4rem) 0 clamp(2.5rem,6vw,3.5rem); }
.page-hero h1 { color: var(--white); margin-bottom: .4rem; }
.page-hero p { color: var(--mint); max-width: 56ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--marine-dark); color: var(--mint); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin: 0 0 .9rem; }
.site-footer a { color: var(--mint); }
.site-footer a:hover { color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .25rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; font-size: .85rem; color: #7d97a8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: #7d97a8; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.social a:hover { background: var(--wasser); color: var(--marine); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead-block { max-width: 64ch; margin: 0 auto; }

/* ---------- Druck / PDF-Vorschau ---------- */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  @page { size: A4; margin: 0; }
  .site-header { position: static; }
  .section, .hero, .next-gig, .card, .gig-row, .recruit, .video-placeholder { break-inside: avoid; }
  .nav-toggle { display: none !important; }
}
