/* ============================================================
   Lokale Schriften (selbst gehostet - kein Render-Blocking,
   keine externe Verbindung zu Google)
   ============================================================ */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/raleway-300.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/raleway-400.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/raleway-500.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/raleway-600.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/raleway-700.woff2") format("woff2");
}
@font-face {
  font-family: "Hammersmith One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/hammersmith-400.woff2") format("woff2");
}

/* ============================================================
   Elim Kirche Geesthacht – Stylesheet
   Schriften: Hammersmith One (Überschriften), Raleway (Text)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --marine:      #002F5C;
  --marine-dark: #001f3d;
  --marine-soft: #e8eef5;
  --footer-bg:   #1A1A18;
  --body-bg:     #edf1ed;
  --white:       #ffffff;
  --text:        #1A1A18;
  --text-muted:  #4a4a4a;
  --text-light:  #777777;
  --border:      #d0d6d0;
}

/* Force light mode regardless of OS setting */
:root { color-scheme: light only; }

/* main als vollbreiter Block, damit Hero/Sections volle Breite behalten */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400; font-size: 1.05rem; line-height: 1.6;
  background: var(--body-bg); color: var(--text);
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
}

h1, h2, h3, h4, h5 {
  font-family: "Hammersmith One", serif;
  font-weight: 400; line-height: 1.2;
}

/* ── NAVBAR ── */
.navbar {
  width: 100%; background: var(--white);
  border-bottom: 2px solid var(--marine);
  display: flex; justify-content: center;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,47,92,0.08);
}
.navbar-inner {
  max-width: 1040px; width: 100%; padding: 0 2.5rem;
  height: 140px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.navbar-logo { height: 88px; width: auto; display: block; flex-shrink: 0; }
.navbar-links { display: flex; align-items: center; gap: 0.3rem; }
.navbar-links a {
  font-family: "Raleway", sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
  padding: 0.45rem 0.9rem; border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.navbar-links a:hover { background: var(--marine-soft); color: var(--marine); }
.navbar-links a.active { background: var(--marine-soft); color: var(--marine); }
.navbar-links a.cta { background: var(--marine); color: var(--white); margin-left: 0.3rem; }
.navbar-links a.cta:hover { background: var(--marine-dark); color: var(--white); }

/* ── FOOTER MAIN ── */
.footer-main { width: 100%; background: #2e2e2c; display: flex; justify-content: center; }
.footer-main-inner {
  max-width: 1040px; width: 100%; padding: 3.5rem 2rem;
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 3rem; align-items: start;
}
.footer-logo { height: 80px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-col-title { font-family: "Hammersmith One", serif; font-size: 1.1rem; color: rgba(255,255,255,0.95); margin-bottom: 0.8rem; }
.footer-col p, .footer-col address {
  font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.5);
  font-style: normal; font-family: "Raleway", sans-serif;
}
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-col .footer-cta {
  display: inline-block; margin-top: 0.8rem; padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px; color: rgba(255,255,255,0.8); font-weight: 600;
  font-size: 0.88rem; transition: background 0.15s;
}
.footer-col .footer-cta:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ── FOOTER BOTTOM BAR ── */
footer {
  width: 100%; background: var(--footer-bg);
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem; font-family: "Raleway", sans-serif;
  display: flex; justify-content: center; margin-top: auto;
}
.footer-inner {
  max-width: 1040px; width: 100%; padding: 1.4rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
footer a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 1.4rem; }

/* ── PAGE HERO (Unterseiten) ── */
.page-hero { width: 100%; background: var(--marine); display: flex; justify-content: center; }
.page-hero-inner { max-width: 1040px; width: 100%; padding: 3rem 2rem 2.8rem; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.65); margin-top: 0.6rem; font-size: 1rem; }

/* ── PAGE CONTENT (Unterseiten) ── */
.page-content { width: 100%; max-width: 1040px; padding: 3rem 2rem 5rem; }
.page-content h2 { font-size: 1.3rem; color: var(--marine); margin: 2.2rem 0 0.7rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.05rem; color: var(--text); margin: 1.4rem 0 0.4rem; }
.page-content p { margin-bottom: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.page-content a { color: var(--marine); font-weight: 600; }
.page-content ul { padding-left: 1.4rem; margin-bottom: 0.9rem; color: var(--text-muted); line-height: 1.8; }

/* ── INFO BOX (Datenschutz) ── */
.info-box {
  background: var(--marine-soft);
  border-left: 3px solid var(--marine);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  margin-bottom: 1.4rem;
}
.info-box p { margin: 0; font-size: 0.95rem; color: var(--text); }

/* ── CONTACT BLOCK (Datenschutz) ── */
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 1px 4px rgba(0,47,92,0.06);
  margin: 0.8rem 0 1.4rem;
}
.contact-block p { margin: 0; line-height: 2; color: var(--text-muted); }
.contact-block a { color: var(--marine); font-weight: 600; }

/* ── RIGHTS LIST (Datenschutz) ── */
ul.rights-list {
  list-style: none;
  display: grid; gap: 0.4rem;
  margin: 0.8rem 0 1.2rem;
  padding: 0;
}
ul.rights-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.97rem; color: var(--text-muted); line-height: 1.6;
}
ul.rights-list li::before {
  content: "→";
  color: var(--marine);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── BADGE (Datenschutz) ── */
.badge {
  display: inline-block;
  background: var(--marine-soft);
  color: var(--marine);
  font-size: 0.72rem; font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
  font-family: "Raleway", sans-serif;
}

/* ── INDEX: HERO ── */
.hero { width: 100%; background: var(--marine); display: flex; justify-content: center; }
.hero-inner { max-width: 1040px; width: 100%; padding: 5rem 2rem 4.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); color: var(--white); margin-bottom: 1.2rem; max-width: 660px; letter-spacing: -0.01em; }
.hero-sub { font-size: 1.1rem; font-weight: 400; line-height: 1.75; color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 2.6rem; }
.service-box { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; padding: 2rem 2.4rem; max-width: 580px; width: 100%; }
.service-box-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-family: "Raleway",sans-serif; margin-bottom: 0.9rem; }
.service-box-time { font-family: "Hammersmith One",serif; font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--white); line-height: 1.1; margin-bottom: 0.6rem; }
.service-box-where { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.80); line-height: 1.6; margin-bottom: 1.3rem; }
.service-box-stream { display: inline-flex; align-items: center; gap: 0.45rem; background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; padding: 0.38rem 1rem; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.88); font-family: "Raleway",sans-serif; text-decoration: none; transition: background 0.15s; }
.service-box-stream:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.service-box-stream::before { content: ""; width: 7px; height: 7px; background: #6ee89a; border-radius: 50%; flex-shrink: 0; }

/* ── INDEX: FEATURES ── */
.features-section { width: 100%; background: var(--body-bg); display: flex; flex-direction: column; align-items: center; padding: 0; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marine); margin-bottom: 0.6rem; font-family: "Raleway",sans-serif; }
.feature-row { width: 100%; max-width: 1040px; padding: 4rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img { width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.feature-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--marine-soft) 0%, #c8d8ea 100%); border-radius: 12px; }
.feature-img-placeholder svg { width: 48px; height: 48px; stroke: var(--marine); opacity: 0.35; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-body { display: flex; flex-direction: column; gap: 0.9rem; }
.feature-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--marine); border: none; padding: 0; margin: 0; }
.feature-body p { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }
.feature-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--marine); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 0.65rem 1.4rem; border-radius: 7px; margin-top: 0.4rem; transition: background 0.15s; width: fit-content; font-family: "Raleway",sans-serif; }
.feature-cta:hover { background: var(--marine-dark); }
.feature-cta::after { content: "→"; }
.feature-divider { width: 100%; max-width: 1040px; height: 1px; background: var(--border); }

/* ── INDEX: SOCIAL ── */
.social-section { width: 100%; max-width: 1040px; padding: 2.5rem 2rem 4.5rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.social-link { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.15rem; background: var(--white); border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; font-family: "Raleway",sans-serif; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.social-link:hover { background: var(--marine-soft); border-color: var(--marine); color: var(--marine); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ── VERANSTALTUNGEN: KALENDER ── */
.cal-wrapper { width: 100%; max-width: 1040px; padding: 2.5rem 2rem 4rem; flex: 1; }
.cal-container { background: var(--white); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 2px 12px rgba(0,47,92,0.07); }
.cal-container iframe { display: block; width: 100%; height: 800px; border: none; }

/* ── KONTAKT: FORMULAR ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: 7px;
  font-family: "Raleway", sans-serif; font-size: 1rem;
  background: var(--white); color: var(--text);
  outline: none; transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--marine); }
.form-group textarea { resize: vertical; }
.btn-primary {
  background: var(--marine); color: var(--white);
  border: none; padding: 0.75rem 2rem; border-radius: 7px;
  font-family: "Raleway", sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s;
}
.btn-primary:hover { background: var(--marine-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .feature-row.reverse { direction: ltr; }
  .footer-main-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .footer-logo { height: 56px; }
  .cal-container iframe { height: 600px; }
}
@media (max-width: 620px) {
  .navbar-inner { height: 100px; padding: 0 1.5rem; }
  .navbar-logo { height: 56px; }
  .navbar-links a:not(.cta) { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding: 3rem 1.5rem 3rem; }
  .social-section, .cal-wrapper { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-hero-inner, .page-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}
