/* ===================================================
   Elim Kirche Lüneburg — Main Stylesheet
   =================================================== */

/* --- Google Fonts are imported in HTML <head> --- */

/* ===================================================
   1. CSS RESET & BASE
   =================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===================================================
   2. TYPOGRAPHY
   =================================================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  font-variant-ligatures: none;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.8;
}

/* ===================================================
   3. LAYOUT UTILITY
   =================================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section--gray {
  background-color: #f9f9f9;
}

.section--dark {
  background-color: #483B54;
  color: #fff;
}

.text-center {
  text-align: center;
}

/* ===================================================
   4. NAVIGATION
   =================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #ebebeb;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  color: #483B54;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: #0081AF;
}

.nav-links a.active {
  color: #0081AF;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-caret {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  color: #333;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(0, 129, 175, 0.08);
  color: #0081AF;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #483B54;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================================
   5. HERO SECTION
   =================================================== */
.hero {
  background-color: #483B54;
  background-image: url('../images/pexels-caleboquendo-34328517.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 7rem 2rem 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(0, 129, 175, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, rgba(72, 59, 84, 0.55) 0%, rgba(72, 59, 84, 0.75) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: #c9cdd4;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* Hero — page-level variant (slightly smaller) */
.hero--page {
  padding: 5rem 2rem 5rem;
}

.hero--page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ===================================================
   6. BUTTONS
   =================================================== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #0081AF;
  color: #ffffff;
  border-color: #0081AF;
}

.btn-primary:hover {
  background-color: #1A9BCC;
  border-color: #1A9BCC;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #0081AF;
  border-color: #0081AF;
}

.btn-outline:hover {
  background-color: #0081AF;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ===================================================
   7. CARDS
   =================================================== */
.card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

/* Static cards (no hover lift — purely informational) */
.dinner-card:hover,
.event-card:hover,
.card--static:hover,
.card--static.group-card:hover {
  transform: none;
  box-shadow: none;
}

.dinner-card {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  color: #fff;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%),
    url('../images/pizza_stock_dinnerparty.jpg') center center / cover no-repeat;
  min-height: 320px;
}

.dinner-card-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.dinner-card-bottom {
  margin-top: auto;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 36px;
  height: 36px;
  stroke: #0081AF;
  fill: #E6F2F7;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #483B54;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* Card link variant */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0081AF;
}

.card-link .card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #0081AF;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.card-link:hover .card-arrow svg {
  transform: translateX(3px);
}

/* Multiple links within a card (e.g. Google Maps + Website) */
.card-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.card-links .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0081AF;
  text-decoration: none;
}

.card-links .card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #0081AF;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.card-links .card-arrow:hover svg {
  transform: translateX(3px);
}

/* Sermon card */
.sermon-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sermon-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.sermon-card .sermon-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0081AF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.sermon-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #483B54;
}

.sermon-card .sermon-date {
  font-size: 0.88rem;
  color: #888;
}

/* ===================================================
   8. GRID LAYOUTS
   =================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

/* ===================================================
   9. TAGS / BADGES
   =================================================== */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag-orange {
  background-color: #99D1EB;
  color: #006a91;
}

.btn-accent {
  background-color: #e05c1a;
  color: #ffffff;
  border-color: #e05c1a;
}

.btn-accent:hover {
  background-color: #E97636;
  border-color: #E97636;
  transform: translateY(-1px);
}

.tag-gray {
  background-color: #f0f0f0;
  color: #555;
}

/* ===================================================
   10. SECTION HEADINGS HELPER
   =================================================== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0081AF;
  margin-bottom: 0.8rem;
}

.section-title {
  margin-bottom: 1rem;
  color: #483B54;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   11. TWO-COLUMN CONTENT
   =================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #483B54;
}

.content-block p {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.content-block .detail-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

.content-block .detail-icon {
  color: #0081AF;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================================
   12. PLATFORM CARDS
   =================================================== */
.platform-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.platform-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.platform-card .platform-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #483B54;
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 1.4rem;
}

/* ===================================================
   13. KLEINGRUPPEN CARDS
   =================================================== */
.group-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.group-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.group-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #483B54;
  margin-bottom: 0.4rem;
}

.group-card .group-desc {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.75rem;
}

/* ===================================================
   14. PAGE HEADER (Impressum / Datenschutz)
   =================================================== */
.page-header {
  background-color: #f9f9f9;
  padding: 3.5rem 2rem;
  border-bottom: 1px solid #ebebeb;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #483B54;
  text-align: center;
}

.page-content {
  padding: 4rem 2rem;
}

.page-content-inner {
  max-width: 780px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  color: #483B54;
}

.page-content p {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 1rem;
}

.page-content a {
  color: #0081AF;
}

.page-content a:hover {
  text-decoration: underline;
}

/* ===================================================
   15. FOOTER
   =================================================== */
.footer {
  background-color: #382E43;
  color: #ffffff;
  padding: 3.5rem 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-logo {
  color: #ffffff;
}

.footer-logo img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-style: italic;
  font-size: 0.95rem;
  color: #ffffff;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.88rem;
  color: #ffffff;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #99D1EB;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #99D1EB;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===================================================
   16. UTILITY CLASSES
   =================================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.divider {
  width: 48px;
  height: 3px;
  background-color: #0081AF;
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.divider--left {
  margin-left: 0;
}

/* Kontakt info */
.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0081AF;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.info-sub {
  font-size: 0.88rem;
  color: #888;
}

.info-block {
  margin-bottom: 2rem;
}

/* IBAN block */
.bank-detail {
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.93rem;
  color: #333;
  line-height: 1.9;
}

.bank-detail strong {
  font-weight: 600;
}

/* ===================================================
   17. RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 2rem 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  }

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

  .nav-toggle {
    display: flex;
  }

  /* Mobile dropdown: inline submenu, no hover */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0 1rem;
    min-width: 0;
    background: transparent;
  }

  .nav-dropdown-menu a {
    padding: 0.35rem 0;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav {
    position: sticky;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }
}
