/* Bayram e.V. – schlichtes, responsives Design
   Keine externen Schriften, kein Tracking, keine Abhängigkeiten. */

:root {
  --teal: #15707a;
  --teal-dark: #0f555d;
  --teal-light: #e8f6f7;
  --logo-teal: #57dad5;
  --text: #1a1a1a;
  --muted: #5a6470;
  --bg: #ffffff;
  --border: #e2e8ec;
  --max: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

h1, h2, h3 { line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }

p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header {
  background: var(--logo-teal);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0a353a;
}
.brand-logo { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .8;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.main-nav a {
  text-decoration: none;
  color: #0a353a;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #0a353a; border-color: #0a353a; font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
main { padding-bottom: 40px; }
.section { padding: 40px 0; }
.section-tight { padding: 26px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; }
.hero img { width: 100%; height: clamp(260px, 42vw, 460px); object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 45, 50, .78) 0%, rgba(6, 45, 50, .45) 55%, rgba(6, 45, 50, .15) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  max-width: var(--max);
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.hero-content h1 { color: #fff; margin-bottom: .35em; max-width: 16ch; }
.hero-content p { font-size: 1.12rem; max-width: 46ch; margin: 0; color: #eaf7f8; }

/* ---------- Karten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 70, 76, .10);
  border-color: var(--teal);
}
.card h3 { margin: 0 0 .35em; color: var(--teal); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Leitsätze ---------- */
.leitsaetze { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.leitsaetze li {
  position: relative;
  padding-left: 34px;
  font-size: 1.02rem;
}
.leitsaetze li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Vorstand ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.member { text-align: center; }
.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: var(--teal-light);
}
.member-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  aspect-ratio: 4 / 5;
}
.member h3 { margin: .7em 0 .15em; font-size: 1.1rem; }
.member-role { color: var(--teal); font-weight: 600; font-size: .92rem; margin: 0 0 .5em; }
.member p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Einzelbilder / Figuren ---------- */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: .5em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

.logo-panel {
  background: var(--logo-teal);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-panel img { max-width: 420px; width: 100%; }

/* ---------- Liste (Lieder) ---------- */
.song-list { columns: 2; column-gap: 32px; padding-left: 1.2em; margin: 0; }
.song-list li { margin-bottom: .35em; break-inside: avoid; }

.poem {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 20px 24px;
  white-space: pre-line;
  font-size: .97rem;
  color: #24363a;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-box h3 { margin-top: 0; color: var(--teal); }
.contact-box a { word-break: break-word; }
.hint {
  background: #fff8e6;
  border-left: 4px solid #e0a800;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: .95rem;
}

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.35rem; }
.legal h3 { font-size: 1.1rem; }
.legal p, .legal li { font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #12353a;
  color: #cfe3e5;
  margin-top: 64px;
  padding: 40px 20px 26px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 .6em; letter-spacing: .04em; }
.site-footer p, .site-footer li { font-size: .9rem; margin: 0 0 .4em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem;
  color: #9cb8bb;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- Fokus (Barrierefreiheit) ---------- */
a:focus-visible, .card:focus-visible {
  outline: 3px solid var(--logo-teal);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .song-list { columns: 1; }
  .header-inner { gap: 10px; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 1.1rem; }
  .main-nav ul { gap: 4px 14px; }
  .hero-content p { font-size: 1rem; }
  .site-footer { margin-top: 44px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }
