/* ============================================================
   CHEERS e. V. – Stylesheet
   ------------------------------------------------------------
   FARBEN ÄNDERN: nur die Werte im Block ":root" unten anpassen.
   Alle Farben der Seite leiten sich daraus ab.
   ============================================================ */

:root {
  --marine:  #132A5C;   /* Dunkelblau  – Überschriften, Footer */
  --marine-hell: #24417f;
  --gold:    #C2913C;   /* Gold        – Linien, Akzente */
  --gold-hell: #E8C27A;
  --pink:    #E5157F;   /* Pink        – Buttons, Highlights */
  --pink-hell: #FBE3EF;
  --creme:   #FBF4EC;   /* Hintergrund */
  --weiss:   #FFFFFF;
  --text:    #2A2A2A;
  --grau:    #6B6B6B;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --breite: 1080px;
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pink); }

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

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--marine);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: .06em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: .04em; }
h3 { font-size: 1.35rem; letter-spacing: .03em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .8rem;
  font-weight: 600;
}

.lead { font-size: 1.12rem; color: var(--grau); }

/* Goldene Trennlinie unter Überschriften */
.rule {
  width: 90px; height: 3px; border: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-hell), var(--gold));
  margin: 0 0 1.8rem;
}
.center .rule { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Kopfbereich / Navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,244,236,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(194,145,60,.28);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.topbar .logo img { height: 52px; width: auto; max-width: 100%; }

nav ul {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 22px; margin: 0; padding: 0;
}
nav a {
  text-decoration: none;
  color: var(--marine);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus { border-bottom-color: var(--pink); color: var(--pink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--weiss);
  border-bottom: 1px solid rgba(194,145,60,.25);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 { margin-bottom: .25em; }

/* Grosses Logo im Kopfbereich der Startseite */
.hero-logo {
  width: min(560px, 92%);
  height: auto;
  margin: 0 auto 1.6rem;
}

/* Nur fuer Screenreader sichtbar (Suchmaschinen/Barrierefreiheit) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero .claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.hero p.intro {
  max-width: 640px; margin: 0 auto 2rem; color: var(--grau);
}
.hero-brush {
  position: absolute; inset: auto 0 -60px 0; height: 160px;
  background: radial-gradient(60% 100% at 20% 0%, rgba(229,21,127,.10), transparent 70%),
              radial-gradient(60% 100% at 80% 0%, rgba(19,42,92,.10), transparent 70%);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink  { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #c40f6c; }
.btn-line  { border: 2px solid var(--marine); color: var(--marine); background: none; }
.btn-line:hover { background: var(--marine); color: #fff; }
.btn + .btn { margin-left: 12px; }

/* ---------- Abschnitte ---------- */
section { padding: 74px 0; }
section:nth-of-type(even) { background: var(--weiss); }

/* ---------- Karten-Raster ---------- */
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--weiss);
  border: 1px solid rgba(194,145,60,.3);
  border-radius: 14px;
  padding: 28px 24px;
}
section:nth-of-type(even) .card { background: var(--creme); }
.card h3 { margin-bottom: .3rem; }
.card .rolle {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink); font-weight: 700;
}

/* Platzhalter-Foto Vorstand */
.portrait {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--pink-hell);
  border: 3px solid var(--gold-hell);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; color: var(--marine);
}

/* ---------- Event-Bereich ---------- */
.event-box {
  background: var(--marine);
  color: #fff;
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
}
.event-box h2, .event-box h3 { color: #fff; }
.event-box .eyebrow { color: var(--gold-hell); }
.event-box p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto; }

.event-typen { margin-top: 40px; }
.event-typen .card h3 { font-size: 1.15rem; }

/* ---------- Spenden ---------- */
.iban {
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--marine);
  background: var(--pink-hell);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}
.konto-liste { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.konto-liste li { padding: 8px 0; border-bottom: 1px dashed rgba(194,145,60,.4); }
.konto-liste li span {
  display: inline-block; min-width: 170px; font-weight: 600; color: var(--grau);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Galerie / Archiv ---------- */
.galerie { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foto-platzhalter {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 2px dashed rgba(194,145,60,.55);
  background: var(--pink-hell);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 10px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--marine);
  color: rgba(255,255,255,.75);
  padding: 54px 0 34px;
  font-size: .92rem;
}
footer a { color: var(--gold-hell); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 34px;
}
footer h3 { color: #fff; font-size: 1.1rem; }
footer .slogan {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-hell); font-size: 1.2rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 20px; text-align: center; font-size: .82rem;
}

/* ---------- Unterseiten (Impressum/Datenschutz) ---------- */
.textseite { padding: 64px 0 80px; max-width: 780px; }
.textseite h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.textseite p { margin: 0 0 1.1rem; }

/* ---------- Zugänglichkeit ---------- */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--pink); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  .topbar .wrap { flex-direction: column; }
  nav ul { justify-content: center; gap: 14px; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
  section { padding: 54px 0; }
}
