/* ===================================================
   Chur Cölnischer Chor Bonn – style.css
   Design: Editorial / Luxury Minimal | Dark & Grey
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ──────────────────────────────────── */
:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --mid:        #1c1c1c;
  --surface:    #242424;
  --border:     #2e2e2e;
  --muted:      #888888;
  --light:      #cccccc;
  --white:      #f2f0ec;
  --accent:     #b8a88a;

  --grad-head:  linear-gradient(135deg, #e8e0d0 0%, #a89070 40%, #c8b898 70%, #888070 100%);
  --grad-sub:   linear-gradient(90deg, #c8bfb0 0%, #807060 100%);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  --radius: 2px;
  --max-w:  1140px;
  --side:   clamp(1.25rem, 5vw, 3rem);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
}

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

/* ── Layout helper ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ── Header / Nav ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

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

.logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
}

/* Desktop nav */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-primary a {
  display: block;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-primary a:hover,
.nav-primary a.active {
  color: var(--white);
  background: var(--surface);
}

/* Mobile burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(10,10,10,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--light);
  letter-spacing: 0.04em;
  padding: 0.5rem 2rem;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  background: var(--black);
}

/* decorative lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.018) 120px,
      rgba(255,255,255,0.018) 121px
    );
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: var(--grad-head);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Gallery strip ──────────────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.gallery-strip figure {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mid);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: filter 0.4s, transform 0.5s;
}

.gallery-strip figure:hover img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.04);
}

/* ── Section defaults ───────────────────────────── */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  background: var(--grad-head);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 0.95rem;
  color: var(--light);
  max-width: 68ch;
  line-height: 1.8;
}

.section-body p + p { margin-top: 1rem; }

/* ── 2-col layout ───────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ── Info cards ─────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.info-card {
  background: var(--mid);
  padding: 1.75rem 1.5rem;
}

.info-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.5;
}

/* ── Tables ─────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  background: var(--surface);
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface); }

tbody td {
  padding: 0.8rem 1rem;
  color: var(--light);
  vertical-align: top;
}

tbody td:first-child {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.year-group td:first-child {
  font-size: 0.65rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Repertoire table – no special first col */
.table-repertoire tbody td:first-child {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 400;
}

/* ── Press quotes ───────────────────────────────── */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.press-item {
  background: var(--mid);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.press-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
}

.press-quote::before {
  content: '\201E';
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--accent);
  margin-right: 0.1em;
}

.press-source {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

/* ── Page hero (subpages) ───────────────────────── */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  background: var(--grad-head);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.75rem;
}

.page-hero p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 55ch;
}

/* ── Impressum / text pages ─────────────────────── */
.text-content {
  max-width: 720px;
  margin-top: 2.5rem;
}

.text-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.text-content h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.75rem 0 0.5rem;
}

.text-content p {
  font-size: 0.93rem;
  color: var(--light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.text-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(184,168,138,0.4);
}

.text-content strong {
  color: var(--white);
  font-weight: 500;
}

.text-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.text-content li {
  font-size: 0.93rem;
  color: var(--light);
  margin-bottom: 0.4rem;
}

.text-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.notice-box {
  background: var(--mid);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.7;
}

/* ── Divider ornament ───────────────────────────── */
.ornament {
  text-align: center;
  color: var(--border);
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  margin: 0.5rem 0;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
}

.footer-nav a {
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav-primary { display: none; }
  .nav-toggle   { display: flex; }

  .two-col { grid-template-columns: 1fr; }

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-strip figure:nth-child(4),
  .gallery-strip figure:nth-child(5) {
    display: none;
  }

  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  thead th, tbody td { padding: 0.65rem 0.6rem; font-size: 0.78rem; }

  .press-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip figure:nth-child(3) { display: none; }
  .info-grid { grid-template-columns: 1fr; }
}

/* ── Fade-in animation ──────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }
