:root {
  --brown-dark: #3a2416;
  --brown-mid: #6b4423;
  --cream: #f7ecd6;
  --cream-2: #fbf4e3;
  --tan: #e8d2a6;
  --yellow: #f0b840;
  --orange: #c97a30;
  --text: #2a1810;
  --muted: #6b4f3a;
  --radius: 10px;
  --max-width: 960px;
  --shadow: 0 2px 6px rgba(58, 36, 22, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--orange); }
a:hover { color: var(--brown-mid); }

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--brown-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; }
h3 { font-size: 1.15rem; }

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

/* Header */
.site-header {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.site-header .logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}
.site-header nav {
  display: flex;
  gap: 1.25rem;
}
.site-header nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--yellow); }

/* Hero */
.hero {
  padding: 2rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}
.hero-photo {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.hero p.bio {
  max-width: 640px;
  margin: 0.5rem auto 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown-mid); color: var(--cream); }
.btn-primary:hover { background: var(--brown-dark); color: var(--cream); }
.btn-secondary { background: var(--yellow); color: var(--brown-dark); }
.btn-secondary:hover { background: var(--orange); color: var(--brown-dark); }

/* Sections */
section { padding: 2.5rem 0; }
section.alt { background: var(--cream-2); }
section.dark {
  background: var(--brown-mid);
  color: var(--cream);
}
section.dark h2 { color: var(--cream); }

.section-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* Shows */
.shows-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .shows-grid { grid-template-columns: repeat(3, 1fr); }
}
.show-card {
  background: var(--cream-2);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.show-card .date {
  font-weight: 700;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.show-card .venue {
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}
.show-card .location {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.show-card .desc {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}
.shows-list { display: flex; flex-direction: column; gap: 0.9rem; }
.shows-list .show-card { padding: 1rem 1.25rem; }
.shows-empty, .shows-error, .shows-loading {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 0;
}

.shows-cta { text-align: center; margin-top: 1.5rem; }
.shows-tagline { text-align: center; color: var(--muted); margin: 0 0 1.5rem; }

/* Google Calendar embed */
.calendar-embed { max-width: 900px; margin: 0 auto; }
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
@media (max-width: 640px) {
  .calendar-embed iframe { height: 560px; }
}

/* Video */
.video-wrap {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Band members */
.members-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .members-grid { grid-template-columns: repeat(4, 1fr); }
}
.member { text-align: center; }
.member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.6rem;
  border: 3px solid var(--cream-2);
}
.member .name {
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0;
}
.member .role {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

/* Contact block */
.contact-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-block .email-link {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
  word-break: break-all;
}

/* Footer */
.site-footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 2rem 0 1.25rem;
  text-align: center;
}
.site-footer .logo-sm {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
}
.site-footer p.tagline {
  max-width: 420px;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  color: var(--tan);
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.75rem 0 1rem;
}
.social-row a {
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.social-row a:hover { background: var(--yellow); color: var(--brown-dark); border-color: var(--yellow); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .copyright {
  color: var(--tan);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Tip page */
.tip-page {
  padding: 2.5rem 0 3rem;
}
.tip-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.tip-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}
.tip-jar {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tip-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--cream-2);
  border: 2px solid var(--tan);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--brown-dark);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
  box-shadow: var(--shadow);
}
.tip-btn:hover {
  background: var(--yellow);
  border-color: var(--orange);
  transform: translateY(-1px);
  color: var(--brown-dark);
}
.tip-btn .handle {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
}
.tip-btn:hover .handle { color: var(--brown-dark); }
.tip-zelle {
  text-align: center;
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--cream-2);
  border: 2px dashed var(--tan);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}
.tip-zelle strong { color: var(--brown-dark); }
.tip-thanks {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-style: italic;
}

/* Page intro (shows page) */
.page-intro {
  text-align: center;
  padding: 2rem 0 1rem;
}
.page-intro p {
  color: var(--muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
}
