/* ==========================================================================
   Förderverein LJO Saar – modernes Redesign
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --teal-900: #0b3d3a;
  --teal-700: #0f6f6b;
  --teal-500: #14a39c;
  --teal-100: #e3f3f1;
  --gold-500: #e2a63b;
  --gold-100: #fbead0;
  --ink-900: #16211f;
  --ink-700: #3c4744;
  --ink-500: #6b7570;
  --paper: #faf8f3;
  --paper-dim: #f2efe6;
  --card: #ffffff;
  --line: #e7e2d4;
  --shadow: 0 20px 45px -25px rgba(11, 61, 58, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-500);
  margin-bottom: 0.6em;
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 0;
}
nav.main-nav { margin-left: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 42px; width: auto; }
.brand-text {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-900);
  white-space: nowrap;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
nav.main-nav a:hover { background: var(--teal-100); color: var(--teal-900); }
nav.main-nav a.active { background: var(--teal-700); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 20px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
/* Bild frei oben, Text darunter auf dunklem Band */
.hero {
  position: relative;
  color: #fff;
  background: var(--teal-900);
}
.hero-bg {
  height: clamp(240px, 42vw, 520px);
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero > .container { padding-top: 40px; padding-bottom: 52px; }
.hero.small > .container { padding-top: 32px; padding-bottom: 40px; }
.hero .eyebrow { color: var(--gold-500); }
.hero h1 { color: #fff; max-width: 780px; }
.hero p.lead { color: rgba(255,255,255,0.88); max-width: 680px; font-size: 1.08rem; margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-500); color: var(--teal-900); box-shadow: 0 12px 24px -10px rgba(226,166,59,0.7); }
.btn-primary:hover { background: #eeb655; }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-solid { background: var(--teal-700); color: #fff; }
.btn-solid:hover { background: var(--teal-900); }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-100); }

/* ---------- Sections ---------- */
section.block { padding: 70px 0; }
section.block.tinted { background: var(--paper-dim); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow);
}
.stat-card { text-align: center; }
.stat-card .num {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  color: var(--teal-700);
  font-weight: 600;
  display: block;
}
.stat-card .label { color: var(--ink-500); font-size: 0.92rem; }

.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 1180px) { .two-col { grid-template-columns: 1fr; } }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 4px 6px 4px 0;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 0; max-width: 480px; }

/* Video */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap video { width: 100%; display: block; }

/* Timeline (Aktuelles) */
.timeline { position: relative; margin-left: 10px; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 26px;
}
.timeline-item::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--teal-500);
}
.timeline-item.featured::before { background: var(--gold-500); border-color: var(--gold-500); }
.timeline-date {
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-item p { color: var(--ink-500); font-size: 0.94rem; margin-bottom: 0; }

.timeline-item { display: flow-root; }
.timeline-item .poster {
  float: right;
  width: 72px;
  margin: 0 0 6px 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 2px 8px rgba(22, 33, 31, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-item .poster:hover { transform: scale(1.04); box-shadow: 0 6px 16px rgba(22, 33, 31, 0.16); }
.timeline-item .poster img { display: block; width: 100%; height: auto; }

.timeline-item .concert-dates {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.timeline-item .concert-dates li { padding-left: 16px; position: relative; margin-bottom: 2px; }
.timeline-item .concert-dates li::before { content: "♪"; position: absolute; left: 0; color: var(--teal-500); }
.timeline-item .concert-dates strong { color: var(--ink-900); }

details.archive-toggle {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  background: var(--card);
}
details.archive-toggle summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-700);
  padding: 14px 0;
  list-style: none;
}
details.archive-toggle summary::-webkit-details-marker { display: none; }
details.archive-toggle summary::after { content: "  ▾"; }
details.archive-toggle[open] summary::after { content: "  ▴"; }

/* Contact cards */
.contact-card { text-align: left; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.contact-card .role { color: var(--ink-500); font-size: 0.85rem; margin-bottom: 10px; }
.contact-card a.mail {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
}

address { font-style: normal; }

/* Accordion (Satzung) */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .badge {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-900);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
}
.accordion-item summary::after { content: "＋"; margin-left: auto; color: var(--ink-500); }
.accordion-item[open] summary::after { content: "－"; }
.accordion-item .accordion-body {
  padding: 0 22px 22px 74px;
  color: var(--ink-700);
  font-size: 0.96rem;
}

/* Tables (Mitgliederversammlung) */
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th, .doc-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.doc-table th { color: var(--ink-500); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.doc-table a { font-weight: 600; text-decoration: none; }
.doc-table a:hover { text-decoration: underline; }

/* Sponsors */
.sponsor-card {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.sponsor-card img { width: 160px; border-radius: var(--radius-sm); }
.thanks-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Links page */
.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-card .go { font-weight: 700; font-size: 0.88rem; }

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 38px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* Legal page */
.legal h3 { margin-top: 1.6em; }
.legal { max-width: 780px; }

/* Mobile nav */
@media (max-width: 1180px) {
  nav.main-nav { position: fixed; inset: 66px 16px auto 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 10px; display: none; z-index: 90; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; }
  nav.main-nav a { padding: 12px 14px; }
  .menu-toggle { display: inline-flex; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
