:root {
  --ink: #18201e;
  --muted: #5f6c68;
  --line: #dfe7e3;
  --paper: #fbfaf6;
  --soft: #eef4f0;
  --green: #2d6a4f;
  --green-dark: #143d31;
  --gold: #c28a2c;
  --blue: #28628f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 32, 30, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(223, 231, 227, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-mark svg,
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.header-cta {
  color: var(--white);
  background: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(50%, 1fr) minmax(250px, 42%);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 12% 14%, rgba(194, 138, 44, 0.16), transparent 32%),
    linear-gradient(135deg, #fbfaf6 0%, #eef4f0 100%);
}

.hero-copy {
  max-width: 980px;
}

.hero-visual {
  justify-self: end;
  width: 100%;
  max-width: 60vw;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(24, 47, 38, 0.2);
}

.hero-visual picture,
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.dark {
  background: var(--ink);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  min-height: 520px;
  color: var(--white);
  background: var(--green-dark);
  --parallax-y: 0px;
}

.intro::before {
  position: absolute;
  inset: -34%;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(13, 31, 27, 0.35), rgba(13, 31, 27, 0.35)),
    url("assets/church-interior-bg.png") center / cover no-repeat;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

.intro::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 25, 23, 0.82) 0%, rgba(11, 25, 23, 0.6) 46%, rgba(11, 25, 23, 0.52) 100%),
    rgba(20, 61, 49, 0.24);
}

.intro h2,
.intro .section-kicker,
.intro p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.intro p:last-child,
.quiet-panel p,
.cta-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.intro p:last-child {
  color: rgba(255, 255, 255, 0.86);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.steps article {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid p,
.steps p,
.check-list p {
  color: var(--muted);
  line-height: 1.58;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--green);
  background: var(--soft);
  border-radius: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
}

.quiet-panel p,
.split .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.check-list span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.process {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps span {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(rgba(40, 98, 143, 0.94), rgba(40, 98, 143, 0.94)),
    linear-gradient(135deg, var(--blue), var(--green));
}

.cta-section div {
  max-width: 780px;
}

.cta-section .section-kicker,
.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

.imprint {
  background: var(--paper);
}

.imprint-layout {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.imprint h3 {
  margin-bottom: 12px;
}

.imprint p {
  color: var(--muted);
  line-height: 1.65;
}

.imprint a {
  color: var(--green-dark);
  font-weight: 750;
}

.imprint-page {
  min-height: calc(100vh - 150px);
}

.imprint-page h1 {
  max-width: 920px;
}

.imprint-text {
  max-width: 880px;
}

.imprint-text p {
  font-size: 1.08rem;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (min-width: 1220px) {
  .hero {
    grid-template-columns: minmax(50%, 1fr) minmax(420px, 50%);
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .imprint-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(2.72rem, 15vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero {
    padding: 42px 18px 28px;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .imprint-layout {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .steps article {
    min-height: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
