/* ============================================
   Das Goldene Herz VoG — Website Styles
   ============================================ */

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

:root {
  --gold: #bda364;
  --gold-light: #d4be87;
  --gold-dark: #6b5023; /* accessible gold for text on light backgrounds 6.5:1 on cream */
  --gold-pale: #f0e6c8;
  --red: #d21518;
  --red-dark: #a81013;
  --charcoal: #2c2c2c;
  --cream: #f5eed9;
  --cream-dark: #eae2cb;
  --white: #ffffff;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
}

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* --- Utility --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  font-style: normal;
  line-height: 1.3;
}

/* --- Gold dot decoration (mirroring the flyer aesthetic) --- */
.gold-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle 2px, var(--gold-light) 50%, transparent 51%) 0 0 / 12px 12px;
  opacity: 0.35;
  pointer-events: none;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 0;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Logo: hidden until hero leaves viewport */
.nav-logo-wrap {
  position: absolute;
  left: 1.5rem;
  line-height: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.nav--scrolled .nav-logo-wrap {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-logo {
  height: 38px;
  width: auto;
}

/* Centered links */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Hamburger: always far right */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

/* Left: dark panel with logo */
.hero-left {
  flex: 0 0 46%;
  background: linear-gradient(155deg, #111111 0%, #1e1e1e 40%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 3rem;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 70%, rgba(189, 163, 100, 0.12) 0%, transparent 55%), radial-gradient(circle at 80% 20%, rgba(210, 21, 24, 0.07) 0%, transparent 45%);
  pointer-events: none;
}

/* Thin gold rule between panels */
.hero-left::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.45;
}

/* Right: cream panel with text */
.hero-right {
  flex: 1;
  background: linear-gradient(150deg, var(--cream) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  padding: 5rem 5rem 5rem 6rem;
  position: relative;
  overflow: hidden;
}

/* Dot grid texture on cream side */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 4px, rgba(189, 163, 100, 0.2) 50%, transparent 51%) 0 0 / 30px 30px,
    radial-gradient(circle 2.5px, rgba(189, 163, 100, 0.12) 50%, transparent 51%) 15px 15px / 30px 30px;
  pointer-events: none;
}

/* Decorative rings in left panel */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring--1 {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -130px;
  border: 2px solid var(--gold);
  opacity: 0.1;
}

.hero-ring--2 {
  width: 220px;
  height: 220px;
  bottom: -70px;
  left: -70px;
  border: 3px solid var(--red);
  opacity: 0.14;
}

.hero-ring--3 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 8%;
  border: 2px solid var(--gold-light);
  opacity: 0.12;
}

/* Decorative rings on cream side */
.hero-right-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-right-decor::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  top: -130px;
  right: -100px;
  border-radius: 50%;
  border: 2px solid rgba(189, 163, 100, 0.28);
}

.hero-right-decor::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  bottom: 8%;
  right: 5%;
  border-radius: 50%;
  border: 2px solid rgba(189, 163, 100, 0.2);
}

/* Floating gold particles — all in left panel */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  bottom: -80px;
  animation: floatUp 10s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 30px;
  height: 30px;
  background: rgba(189, 163, 100, 0.6);
  left: 8%;
  animation-delay: 0s;
  animation-duration: 11s;
}
.particle:nth-child(2) {
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold-light);
  background: transparent;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 9s;
}
.particle:nth-child(3) {
  width: 44px;
  height: 44px;
  background: rgba(189, 163, 100, 0.2);
  left: 35%;
  animation-delay: 4s;
  animation-duration: 13s;
}
.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  background: rgba(245, 238, 217, 0.5);
  left: 52%;
  animation-delay: 1s;
  animation-duration: 8s;
}
.particle:nth-child(5) {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(210, 21, 24, 0.5);
  background: transparent;
  left: 65%;
  animation-delay: 3s;
  animation-duration: 12s;
}
.particle:nth-child(6) {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(189, 163, 100, 0.4);
  background: transparent;
  left: 78%;
  animation-delay: 5.5s;
  animation-duration: 10s;
}
.particle:nth-child(7) {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  left: 14%;
  animation-delay: 7s;
  animation-duration: 9.5s;
}
.particle:nth-child(8) {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  left: 46%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.4);
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-115vh) scale(1);
    opacity: 0;
  }
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  position: relative;
  z-index: 1;
  animation: fadeInScale 1.2s ease-out;
  filter: drop-shadow(0 6px 40px rgba(189, 163, 100, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-script {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: var(--gold-dark);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  animation: fadeInUp 0.9s ease-out 0.3s both;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.9s ease-out 0.5s both;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero .tagline {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeInUp 0.9s ease-out 0.7s both;
}

.hero-cta {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  animation: fadeInUp 0.9s ease-out 0.9s both;
  box-shadow: 0 4px 20px rgba(210, 21, 24, 0.3);
}

.hero-cta:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(210, 21, 24, 0.4);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- About / Mission --- */
.about {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Dot texture clusters */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle 4px, rgba(189, 163, 100, 0.18) 50%, transparent 51%) 0 0 / 22px 22px;
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle 3px, rgba(189, 163, 100, 0.14) 50%, transparent 51%) 0 0 / 18px 18px;
  pointer-events: none;
}

/* Large faint logo watermark on the right */
.about-bg-logo {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: url('p2_Logo_Das_goldene_Herz_4C_Print.svg') center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.about-text {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-motto {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
  margin-top: 1.5rem;
}

/* --- Team --- */
.team {
  padding: 5rem 0;
  background: var(--cream);
  position: relative;
}

.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 3.5px, rgba(189, 163, 100, 0.14) 50%, transparent 51%) 0 0 / 26px 26px,
    radial-gradient(circle 2px, rgba(189, 163, 100, 0.08) 50%, transparent 51%) 13px 13px / 26px 26px;
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--cream-dark);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-card--featured {
  border-color: var(--gold);
  box-shadow: 0 2px 16px rgba(189, 163, 100, 0.15);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.member-avatar--red {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
}

img.member-avatar {
  width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  background: none;
  border: none;
  display: block;
}

.team-card--featured img.member-avatar {
  box-shadow: 0 0 0 3px rgba(189, 163, 100, 0.35);
}

.member-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.member-role {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.member-quote {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}

/* --- Events / Veranstaltungen --- */
.events {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
}

.events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle 4px, rgba(189, 163, 100, 0.16) 50%, transparent 51%) 0 0 / 24px 24px;
  pointer-events: none;
}

.events::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle 3px, rgba(189, 163, 100, 0.12) 50%, transparent 51%) 0 0 / 20px 20px;
  pointer-events: none;
}

.events-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: -1rem auto 2.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--cream-dark);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.event-card--soldout {
  opacity: 0.7;
}

.event-card--soldout::before {
  background: var(--text-light);
}

.event-card--highlight {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(189, 163, 100, 0.12);
}

.event-card--highlight::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.event-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.event-location {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.event-detail {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.event-detail a {
  color: var(--red);
  font-weight: 600;
}

.event-badge {
  display: inline-block;
  padding: 0.22rem 0.85rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.event-badge--soldout {
  background: var(--text-light);
  color: var(--white);
}

.event-badge--upcoming {
  background: var(--cream-dark);
  color: var(--charcoal);
}

.event-badge--tickets {
  background: var(--gold);
  color: var(--charcoal);
}

/* --- Donate extras --- */
.donate-iban {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(189, 163, 100, 0.35);
  border-radius: 12px;
  padding: 1.2rem 2rem;
  text-align: center;
  line-height: 1.8;
}

.iban-label {
  font-size: 0.85rem;
  color: var(--cream-dark);
  margin-bottom: 0.3rem;
}

.iban-name {
  font-weight: 600;
  color: var(--white);
}

.iban-number {
  color: var(--gold-light);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

/* --- Herzensprojekt --- */
.project {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
}

.project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 3px, rgba(189, 163, 100, 0.12) 50%, transparent 51%) 0 0 / 24px 24px;
  pointer-events: none;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
}

.project-card h3 {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.project-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.2rem;
  border-radius: 12px;
  background: var(--cream);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.value-item span:last-child {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}

/* --- Donate / Spenden --- */
.donate {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--charcoal), #1a1a1a);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate .section-title {
  color: var(--white);
}

.donate .section-subtitle {
  color: var(--gold-light);
}

.donate-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.qr-wrapper {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(189, 163, 100, 0.2);
  display: inline-block;
  transition: transform 0.3s ease;
}

.qr-wrapper:hover {
  transform: scale(1.04);
}

.qr-wrapper img {
  width: 180px;
  height: 180px;
  display: block;
}

.qr-label {
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.donate-text {
  font-size: 1.1rem;
  color: var(--cream-dark);
  max-width: 480px;
  line-height: 1.8;
}

.donate-text strong {
  color: var(--white);
}

/* --- Contact / Footer --- */
.contact {
  padding: 4rem 0;
  background: var(--white);
  text-align: center;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  color: var(--text);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.insta-link,
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: #1877f2;
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.insta-link {
  background-color: #a81013;
}
.insta-link:hover,
.facebook-link:hover {
  background: #0d65d9;
  color: var(--white);
  transform: translateY(-2px);
}

.insta-link:hover {
  background-color: #930d0f;
}

.insta-link svg,
.facebook-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream-dark);
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--gold-light);
}

.site-footer .footer-heart {
  color: var(--red);
}

/* --- Scroll fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-play-state: paused;
}

.fade-in.visible {
  animation-play-state: running;
}

/* --- Skip link (WCAG 2.4.1) --- */
.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  z-index: 9999;
  padding: 0.8rem 1.6rem;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* --- Focus styles (WCAG 2.4.7) --- */
a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-links a:focus-visible {
  outline-color: var(--gold-light);
}

.nav-logo-wrap:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 3px;
}

.hero-cta:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 4px;
}

.facebook-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(44, 44, 44, 0.98);
    padding: 1rem 1.5rem;
    gap: 0.8rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    flex: none;
    width: 100%;
    min-height: 50vw;
    max-height: 60vh;
    padding: 5rem 2rem 2.5rem;
  }

  .hero-left::after {
    top: auto;
    bottom: 0;
    right: 8%;
    left: 8%;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  }

  .hero-right {
    padding: 3rem 2rem 4rem;
    text-align: center;
    justify-content: center;
  }

  .hero-logo {
    max-width: 220px;
  }

  .hero-script {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .about-bg-logo {
    display: none;
  }

  .project-card {
    padding: 2rem 1.5rem;
  }

  .project-values {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .qr-wrapper img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 160px;
  }

  .hero-script {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .project-card {
    padding: 1.5rem 1rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .team-card {
    padding: 1rem 0.7rem;
  }

  .member-avatar {
    width: 56px;
    height: 56px;
    font-size: 0.9rem;
  }

  img.member-avatar {
    width: 100%;
    height: auto;
  }

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