/* Silverbacks Illnau — Vereins-Website
   Grundton: dunkles Anthrazit, Silber-Grau, klare Blocktypografie —
   angelehnt an das Vereinswappen. */

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

:root {
  --bg: #131416;
  --bg-panel: #1b1d20;
  --bg-panel-2: #202226;
  --line: #34373c;
  --fg: #F3F2EF;
  --fg-muted: #A9ACB0;
  --silver: #C9CDD1;
  --gold: #B9925A;
  --radius: 4px;
  --max: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em 0;
  line-height: 1.05;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 700; }

p { max-width: 62ch; color: var(--fg-muted); }

.lede { font-size: 1.15rem; color: var(--fg); max-width: 56ch; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(19, 20, 22, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}

.brand img { height: 44px; width: auto; }

.brand-text {
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-text span { display: block; font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 500; color: var(--fg-muted); letter-spacing: 0.08em; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--fg);
  border-color: var(--gold);
}

.nav-toggle { display: none; }

@media (max-width: 700px) {
  nav.main-nav ul { gap: 18px; }
  .brand-text { font-size: 0.85rem; }
  .brand-text span { display: none; }
}

@media (max-width: 460px) {
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; row-gap: 10px; }
  nav.main-nav ul { gap: 14px; font-size: 0.9rem; flex-wrap: wrap; }
  nav.main-nav a { font-size: 0.85rem; }
  .brand img { height: 36px; }
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(185,146,90,0.10), transparent 55%),
    var(--bg);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stats div strong {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  color: var(--fg);
}

.hero-stats div span {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 380px; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { order: -1; max-width: 240px; margin: 0 auto; }
  .hero-stats { flex-wrap: wrap; row-gap: 16px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--silver); }

.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-muted); }

.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 40px; }

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
  padding: 20px;
}

/* ---------- Team ---------- */

.person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(155deg, #2b2e33, #17181a);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  color: var(--silver);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.person .role { color: var(--gold); font-size: 0.82rem; font-weight: 600; margin-top: 2px; }

/* ---------- Termine (events) ---------- */

.event-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }

.event-date {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 10px 6px;
}
.event-date .day { display: block; font-family: 'Anton', sans-serif; font-size: 1.5rem; }
.event-date .month { display: block; font-size: 0.72rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.event-title { font-weight: 700; margin-bottom: 4px; }
.event-meta { color: var(--fg-muted); font-size: 0.9rem; }

@media (max-width: 620px) {
  .event-row { grid-template-columns: 64px 1fr; }
  .event-row .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Forms ---------- */

form { max-width: 560px; }

.field { margin-bottom: 18px; }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }

input, textarea, select {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.85rem; margin-top: 14px; }

/* ---------- Contact info list ---------- */

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--fg-muted);
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list strong { color: var(--fg); font-weight: 600; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a { color: var(--fg-muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---------- Placeholder banner ---------- */

.editme {
  border: 1px dashed var(--gold);
  background: rgba(185,146,90,0.07);
  border-radius: var(--radius);
  padding: 3px 8px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
