/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── Tokens ── */
:root {
  --teal:        #1a5f6e;
  --teal-dark:   #134a58;
  --teal-light:  #2a7a8c;
  --green:       #7dc242;
  --green-dark:  #65a334;
  --text:        #18262c;
  --muted:       #5e7280;
  --bg:          #f2f5f7;
  --surface:     #ffffff;
  --border:      rgba(26,95,110,0.10);
  --r-sm:        8px;
  --r:           16px;
  --r-lg:        28px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow:      0 4px 32px rgba(26,95,110,0.12);
  --shadow-lg:   0 12px 48px rgba(26,95,110,0.18);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Logo — clip to circle, removes any rectangular white bg ── */
.logo-img {
  clip-path: circle(47% at 50% 50%);
  display: block;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 56px;
  background: rgba(18, 42, 52, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-brand .logo-img {
  width: 32px;
  height: 32px;
}

.navbar-brand span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.90);
  white-space: nowrap;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover { color: var(--green); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/kirchefoto.jpg') center 55% / cover no-repeat;
  transform: scale(1.03);
  will-change: transform;
}

/* Radial vignette behind text + minimal top/bottom gradients
   → photo stays bright at edges, focus pulls to centered text */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 65% at 50% 55%,
      rgba(8,24,32,0.50) 0%,
      rgba(8,24,32,0.20) 45%,
      transparent 78%
    ),
    linear-gradient(180deg,
      rgba(8,24,32,0.32) 0%,
      transparent 18%,
      transparent 70%,
      rgba(8,24,32,0.55) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 700px;
}

.hero__logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.35));
}

/* Label above headline */
.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* On dark backgrounds: label is white-tinted green */
.on-dark .label {
  color: var(--green);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
/* On light backgrounds: label is teal */
.on-light .label { color: var(--teal); }

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.35rem;
  /* Dual shadow: sharp edge + soft halo for readability over photo */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.55),
    0 4px 28px rgba(0,0,0,0.40);
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.50),
    0 2px 14px rgba(0,0,0,0.35);
}

/* Quote block — glass card on dark */
.quote-glass {
  background: rgba(15,30,40,0.30);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: var(--r);
  padding: 1.25rem 1.75rem;
  margin: 0 auto 2.25rem;
  max-width: 620px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}

.quote-glass blockquote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.30);
}

.quote-glass cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green);
}

/* CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(125,194,66,0.32);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(125,194,66,0.40);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ── GENERIC SECTION ── */
section.section { padding: 6rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }

.section-header { margin-bottom: 3.5rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-top: 0.6rem;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

/* ── VERANSTALTUNGEN ── */
.section--white { background: var(--surface); }
.section--gray  { background: var(--bg); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.event-card {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.event-card__day {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.event-card__time {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.event-card__time sup {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  vertical-align: middle;
}

.event-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.event-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Livestream bar */
.livestream-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(110deg, var(--teal-dark) 0%, var(--teal) 100%);
  border-radius: var(--r-sm);
  color: #fff;
  flex-wrap: wrap;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(125,194,66,0.30);
  flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(125,194,66,0.30); }
  50%       { box-shadow: 0 0 0 8px rgba(125,194,66,0.08); }
}

.livestream-bar__text { flex: 1; min-width: 200px; }
.livestream-bar__text strong { display: block; font-size: 0.95rem; }
.livestream-bar__text span   { font-size: 0.82rem; opacity: 0.72; }

/* ── ÜBER UNS ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.belief-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.belief-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}

.belief-text p:last-child { margin-bottom: 0; }

.belief-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.belief-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(26,95,110,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.belief-item__icon svg { width: 18px; height: 18px; }

.belief-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.belief-item p { font-size: 0.82rem; color: var(--muted); }

/* ── GRUPPEN ── */
.groups-header-quote {
  display: block;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  margin-top: 0.4rem;
  border-left: 3px solid var(--green);
  padding-left: 0.9rem;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.group-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.group-card::after {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: var(--r) var(--r) 0 0;
}

.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.group-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,95,110,0.10), rgba(125,194,66,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}

.group-card__icon svg { width: 22px; height: 22px; }

.group-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.group-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.group-card__time {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(26,95,110,0.08);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

/* ── KONTAKT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.contact-row__icon {
  width: 34px;
  height: 34px;
  background: rgba(26,95,110,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-row__icon svg { width: 16px; height: 16px; }

.contact-row__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-row__value {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-row__value a {
  color: var(--teal);
  text-decoration: none;
}

.contact-row__value a:hover { text-decoration: underline; }

/* Map placeholder */
.map-card {
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  gap: 1rem;
  min-height: 280px;
  color: #fff;
}

/* On dark card: colored elements become white */
.map-card svg { color: rgba(255,255,255,0.50); }
.map-card h4 { font-size: 1.05rem; font-weight: 700; }
.map-card p  { font-size: 0.85rem; opacity: 0.70; }

/* ── FOOTER ── */
footer {
  background: var(--teal-dark);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand .logo-img {
  width: 28px;
  height: 28px;
}

/* On dark footer: text white */
.footer-brand span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  /* On dark: use low-opacity white, not color */
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: 0.78rem;
  /* On dark: transparent white (very low opacity) */
  color: rgba(255,255,255,0.30);
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .navbar { padding: 0 1.25rem; }
  .navbar-brand span { display: none; }
  .navbar-links { gap: 1.25rem; }

  section.section { padding: 4rem 1.25rem; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .map-card { min-height: 180px; }

  .hero__logo { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
  .navbar-links { gap: 0.9rem; }
  .navbar-links a { font-size: 0.78rem; }
}
