/* ================= Hero ================= */
.hero {
  background: var(--header-footer);
  padding: clamp(48px, 8vw, 80px) 0 clamp(36px, 6vw, 60px);
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin: 0 0 12px;
  color: var(--fg);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

@supports not (text-wrap: balance) {
  .hero-text h1 {
    word-break: normal;
    white-space: normal;
  }
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  color: var(--muted);
}

.hero p {
  max-width: 60ch;
  margin: 8px auto 0;
  color: var(--fg);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

/* ================= Events ================= */
.events {
  padding: clamp(40px, 6vw, 60px) 0;
}

.events h2 {
  text-align: center;
  margin: 0 0 30px;
  letter-spacing: .2px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.event-card {
  background: var(--card);
  padding: clamp(16px, 3vw, 20px);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card h3 {
  margin: 0;
  color: var(--brand);
}

.event-card p {
  margin: 0;
  color: var(--fg);
}

/* ================= About ================= */
.about {
  padding: clamp(40px, 6vw, 60px) 0;
}

.about-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.about-text {
  flex: 1;
  max-width: clamp(280px, 40%, 460px);
  line-height: 1.6;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: bottom;
  border-radius: var(--radius);
}

@media (max-width:850px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .about-image {
    justify-content: center;
  }

  .about-image img {
    width: min(420px, 100%);
    height: auto;
  }
}

/* ================= CTA ================= */
.cta {
  position: relative;
  background: var(--header-footer);
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 95vw);
  z-index: 0;
  pointer-events: none;
  opacity: .12;
}

.cta-overlay {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .80);
  display: inline-block;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius);
}

.cta h2 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--brand);
  letter-spacing: .2px;
}

/* ================= Utilities ================= */
.spacer {
  height: 40px;
}

/* Button mittig unter Events (robust mit/ohne Wrapper) */
.events .container>.button,
.events .container .button-center .button {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  float: none;
}

.events .container .button-center {
  width: 100%;
}