:root {
  --green: #293f2f;
  --green-dark: #1c3023;
  --green-soft: #566b58;
  --cream: #eee4cf;
  --cream-light: #f8f2e7;
  --sand: #c6b795;
  --ink: #1e281f;
  --muted: #687069;
  --line: rgba(41, 63, 47, .22);
  --shadow: 0 18px 50px rgba(34, 48, 35, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-light);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-anchor { scroll-margin-top: 92px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: .55rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(248, 242, 231, .96);
  border-bottom: 1px solid rgba(41, 63, 47, .1);
  backdrop-filter: blur(12px);
}
.header-logo img { width: 145px; height: 70px; object-fit: contain; object-position: left center; }
.main-navigation { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2vw, 2.2rem); }
.main-navigation a {
  position: relative;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--green); transition: right .2s ease; }
.main-navigation a:hover::after, .main-navigation a:focus-visible::after { right: 0; }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  padding: .7rem 1.25rem;
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); background: var(--green-dark); }
.menu-button { display: none; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(350px, .72fr) minmax(600px, 1.55fr);
  background: var(--cream-light);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 8vw, 8rem) 1rem clamp(4rem, 7vw, 7rem) clamp(2rem, 7vw, 7rem);
  background: linear-gradient(90deg, var(--cream-light) 72%, rgba(248,242,231,.92) 88%, rgba(248,242,231,0));
  margin-right: -120px;
}
.hero-copy h1{
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 1.08;
}
.eyebrow, .section-label {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  color: var(--green);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1, h2, h3 { margin-top: 0; }
.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--green);
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(4.4rem, 8vw, 7.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}
.short-rule { width: 70px; height: 2px; margin: .2rem 0 1.3rem; background: var(--green); opacity: .55; }
.hero-subtitle { margin-bottom: 1.8rem; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.hero-photo { min-width: 0; display: grid; place-items: center; background: #d9dbc9; }
.hero-photo img { width: 100%; height: 100%; max-height: 760px; object-fit: contain; object-position: center; }

.content-section { padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); }
.about {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(300px, .72fr) minmax(300px, .72fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  background: var(--cream-light);
}
.about-photo { margin: 0; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 580px; object-fit: contain; }
.about-copy h2, .music-intro h2, .contact h2 {
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  color: var(--green);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
}
.about-copy p { max-width: 620px; }
.signature { margin: 1.7rem 0; font-family: Georgia, serif; font-size: 1.45rem; font-style: italic; }
.section-heading-row { display: flex; align-items: center; gap: 1.25rem; }
.heading-line { height: 1px; flex: 1; background: var(--line); }
.events { align-self: stretch; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line); }
.event-list { display: grid; }
.event-item { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.event-item time { width: 58px; min-height: 64px; display: grid; place-content: center; text-align: center; border: 1px solid var(--green); border-radius: 6px; }
.event-item time strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.65rem; line-height: 1; }
.event-item time span { font-size: .75rem; font-weight: 700; }
.event-item h3 { margin-bottom: .15rem; font-size: 1rem; }
.event-item p { margin: 0; color: var(--muted); font-size: .86rem; }
.admin-note { margin-top: 1.2rem; color: var(--muted); font-size: .78rem; }
.admin-note code { padding: .1rem .3rem; background: rgba(41,63,47,.08); }

.music {
  display: grid;
  grid-template-columns: .72fr 1fr 1fr;
  gap: 1.5rem;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.2rem, 5vw, 5rem);
  background: #efe8d9;
}
.music-intro { padding-right: clamp(1rem, 3vw, 3rem); }
.instagram-button { margin-top: 1rem; }
.instagram-icon { font-size: 1.35rem; }
.music-card { position: relative; min-height: 310px; overflow: hidden; border-radius: 14px; background: var(--green); color: white; text-decoration: none; box-shadow: var(--shadow); }
.music-card img { width: 100%; height: 250px; object-fit: contain; background: #d8d7c7; transition: transform .3s ease; }
.music-card:hover img { transform: scale(1.02); }
.music-card > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.music-card span { font-size: .9rem; opacity: .8; }
.play-button { position: absolute; left: 50%; top: 125px; display: grid; place-items: center; width: 62px; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid white; border-radius: 50%; background: rgba(28,48,35,.78); font-size: 1.25rem; opacity: 1 !important; }
.portrait-card img { object-position: center 30%; }

.members { position: relative; overflow: hidden; padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 6vw, 6rem) clamp(7rem, 10vw, 10rem); background: var(--cream-light); }
.members::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -35px; height: 155px; background: var(--green-soft); opacity: .22; clip-path: polygon(0 72%, 8% 44%, 17% 68%, 27% 22%, 38% 60%, 48% 15%, 59% 65%, 71% 31%, 82% 68%, 92% 38%, 100% 72%, 100% 100%, 0 100%); }
.members-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; max-width: 700px; margin: 0 auto; }
.members-title span { height: 1px; background: var(--line); }
.members-title h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; color: var(--green); font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.members-hint { text-align: center; color: var(--muted); }
.member-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 2.5rem 1.5rem;

  max-width: 1400px;
  margin: 2.5rem auto 0;
}
.member-card {
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;

  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}
.member-card:nth-child(n+7) { transform: translateX(50%); }
.member-placeholder {
  display: block;             /* entscheidend */
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 0.8rem;
  overflow: hidden;

  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--cream);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-placeholder img{
    width:105%;
    height:105%;
    margin:-2.5%;
    object-fit:cover;
    object-position:center 18%;
    transform:translateZ(0);
    backface-visibility:hidden;
}
/*
.member-placeholder { position: relative; width: 118px; aspect-ratio: 1; margin: 0 auto .75rem; overflow: hidden; border: 1px solid var(--green-soft); border-radius: 50%; background: var(--cream); transition: transform .2s ease, box-shadow .2s ease; }
.member-placeholder::before { content: ""; position: absolute; left: 50%; top: 22%; width: 32%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--sand); }
.member-placeholder::after { content: ""; position: absolute; left: 50%; bottom: -2%; width: 68%; height: 48%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: var(--sand); }
.member-placeholder span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 25%; background: var(--green); clip-path: polygon(0 100%, 0 45%, 24% 63%, 39% 25%, 52% 65%, 67% 35%, 79% 65%, 100% 46%, 100% 100%); }
*/
.member-card:hover .member-placeholder, .member-card:focus-visible .member-placeholder { transform: translateY(-5px); box-shadow: var(--shadow); }
.member-card strong { display: block; font-size: .98rem; }
.member-card small { color: var(--muted); }

.contact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 230px 1.1fr 1fr .85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.2rem, 6vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 48%, rgba(238,228,207,.10), transparent 18rem),
    linear-gradient(135deg, #1b3223 0%, #14291c 58%, #102218 100%);
  color: white;
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(120deg, transparent 0 42%, rgba(238,228,207,.12) 42.2% 42.7%, transparent 42.9% 100%),
    radial-gradient(circle at 82% 18%, rgba(238,228,207,.25), transparent 24rem);
}
.contact-logo{
    width:200px;
    aspect-ratio:1;
    display:grid;
    place-items:center;

    border-radius:50%;
    background:radial-gradient(circle,#f7f0df 0%,#eee4cf 100%);

    box-shadow:
        0 0 0 12px rgba(255,255,255,.05),
        0 20px 60px rgba(0,0,0,.35);

    overflow:hidden;
}

.contact-logo img{
    width:72%;
    height:auto;
    display:block;
}
.contact .section-label.light { color: var(--cream); }
.contact h2 { color: white; font-size: clamp(2rem, 3vw, 3.2rem); }
.contact-intro p { color: rgba(255,255,255,.82); }
.social-links a {
  display: inline-block;
  color: var(--cream);
  font-weight: 700;
  text-underline-offset: .25rem;
}
.contact-details, .contact-action {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 1px solid rgba(238,228,207,.28);
}
.contact-details a { text-decoration: none; }
.contact-details small { margin-top: .8rem; color: rgba(255,255,255,.58); }
.button-light {
  background: var(--cream);
  color: var(--green-dark);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.button-light:hover { background: var(--cream-light); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem clamp(1.2rem, 6vw, 6rem);
  background: #0f2117;
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(238,228,207,.10);
  font-size: .82rem;
}
footer div { display: flex; gap: 1.5rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }

.member-dialog { width: min(760px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 16px; background: var(--cream-light); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.member-dialog::backdrop { background: rgba(18,31,22,.72); backdrop-filter: blur(4px); }
.dialog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); }
.dialog-photo { width: 220px; }
.dialog-close { position: absolute; top: .8rem; right: .9rem; width: 42px; aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--green); color: white; font-size: 1.7rem; cursor: pointer; }
.dialog-instrument { margin-top: -1rem; color: var(--green); font-weight: 700; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .main-navigation { gap: 1rem; }
  .hero { grid-template-columns: .65fr 1.35fr; }
  .about { grid-template-columns: 1fr 1fr; }
  .events { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 2.5rem 0 0; }
  .event-list { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .member-grid { grid-template-columns: repeat(4, 1fr); }
  .member-card:nth-child(n+7) { transform: none; }
  .contact { grid-template-columns: 160px 1fr 1fr; }
  .contact-action { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 74px; }
  .header-logo img { width: 125px; height: 60px; }
  .menu-button { display: inline-flex; padding: .55rem .8rem; border: 1px solid var(--green); border-radius: 4px; background: transparent; color: var(--green); font-family: "Barlow Condensed", sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; }
  .main-navigation { position: absolute; top: 100%; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--cream-light); box-shadow: var(--shadow); }
  .main-navigation.open { display: flex; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { margin: 0; padding: 3.5rem 1.5rem 2rem; background: var(--cream-light); }
  .hero-photo img { height: auto; max-height: none; object-fit: contain; }
  .about { grid-template-columns: 1fr; }
  .about-photo img { height: auto; max-height: 760px; }
  .events { grid-column: auto; }
  .music { grid-template-columns: 1fr 1fr; }
  .music-intro { grid-column: 1 / -1; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact-logo { width: 155px; padding: 14px; }
  .contact-details { border-left: 0; padding-left: 0; }
  .contact-action { grid-column: auto; }
}

@media (max-width: 580px) {
  .hero h1 { font-size: 4.4rem; }
  .content-section, .music, .members, .contact { padding-left: 1rem; padding-right: 1rem; }
  .event-list { grid-template-columns: 1fr; }
  .music { grid-template-columns: 1fr; }
  .music-intro { grid-column: auto; }
  .music-card { min-height: 280px; }
  .music-card img { height: 220px; }
  .play-button { top: 110px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem .75rem; }
  .member-placeholder {
    width: 110px;
    height: 110px;
  }
  .contact { grid-template-columns: 1fr; text-align: left; }
  .contact-logo { justify-self: start; width: 145px; }
  .contact-details, .contact-action { grid-column: auto; padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  footer { flex-direction: column; }
  .dialog-layout { grid-template-columns: 1fr; text-align: center; }
  .dialog-photo { width: 170px; }
}
.member-placeholder {
  display: block;             /* entscheidend */
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 0.8rem;
  overflow: hidden;

  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--cream);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-placeholder img{
    width:105%;
    height:105%;
    margin:-2.5%;
    object-fit:cover;
    object-position:center 18%;
    transform:translateZ(0);
    backface-visibility:hidden;
}