@font-face { font-family: 'DM Sans'; src: url('fonts/DM_Sans-300.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DM_Sans-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DM_Sans-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/Playfair_Display-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/Playfair_Display-400italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/Playfair_Display-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

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

:root {
  --cream:  #f5f0e8;
  --dark:   #1a1a18;
  --vine:   #4a6741;
  --vine-light: #6b9462;
  --gold:   #c9a84c;
  --warm:   #f9f5ee;
  --text:   #2c2c28;
  --muted:  #7a7a72;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(26,26,24,.88);
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,103,65,.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,168,76,.15) 0%, transparent 60%),
    linear-gradient(160deg, #1a1a18 0%, #2a2e1e 50%, #141612 100%);
}

/* decorative vines */
.vine-decoration {
  position: absolute;
  opacity: .12;
  pointer-events: none;
}
.vine-left  { left: -60px; bottom: 10%;  width: 340px; }
.vine-right { right: -40px; top: 15%; width: 280px; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeUp .9s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: italic;
  color: var(--vine-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--vine);
  color: #fff;
}
.btn-primary:hover { background: var(--vine-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,103,65,.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; opacity: .5; }

/* ── WELCOME BANNER ── */
#willkommen {
  background: var(--vine);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#willkommen::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/vineyard.jpg');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
#willkommen::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(74,103,65,.4) 0%, transparent 70%);
}
.welcome-label {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.2rem;
}
.welcome-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  font-weight: 700;
}
.welcome-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,.8);
  font-weight: 300;
}

/* ── SECTION SHARED ── */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  font-weight: 300;
}

/* ── HAUSKIRCHE ── */
#hauskirche { background: var(--cream); }
.hk-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}
.hk-visual {
  position: relative;
  width: 340px;
}
.hk-card {
  background: var(--dark);
  border-radius: 6px;
  padding: 3rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hk-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(74,103,65,.4) 0%, transparent 60%);
}
.hk-card-content { position: relative; z-index: 1; }
.hk-tag {
  display: inline-block;
  background: var(--vine);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}
.hk-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hk-card-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.hk-detail {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .85rem;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.hk-detail svg { flex-shrink: 0; color: var(--gold); }

.hk-info { display: flex; flex-direction: column; gap: 2rem; }
.info-block {
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
}
.info-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: .5rem;
  color: var(--dark);
}
.info-block-text {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.info-block-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--vine);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border-radius: 20px;
  margin-top: .7rem;
}
.info-block-badge svg { width: 14px; }

/* ── PRAISE & PRAY ── */
#praiseundpray { background: var(--warm); }
.pp-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: .5rem;
}
.pp-poster {
  width: 340px;
  flex-shrink: 0;
}
.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
}
.pp-card {
  background: #fff;
  border-radius: 6px;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.pp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--vine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.pp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.pp-card:hover::after { transform: scaleX(1); }
.pp-icon {
  width: 48px; height: 48px;
  background: rgba(74,103,65,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--vine);
}
.pp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--dark);
}
.pp-card-time {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem;
  color: var(--vine);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: .9rem;
}
.pp-card-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── UNTERSTÜTZUNG ── */
#unterstuetzung { background: var(--warm); }
.iban-box {
  background: var(--dark);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.iban-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(201,168,76,.2) 0%, transparent 60%);
  pointer-events: none;
}
.iban-label {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.iban-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  color: #fff;
}
.iban-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.iban-number {
  font-family: monospace;
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: #fff;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
}
.iban-copy {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 4px;
  padding: .45rem .9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.iban-copy:hover { background: rgba(255,255,255,.18); border-color: var(--gold); }
.iban-copy.copied { background: var(--vine); border-color: var(--vine); }
.iban-bank {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

/* ── KONTAKT ── */
#kontakt { background: var(--dark); color: #fff; padding: 6rem 2rem; }
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.kontakt-left .section-title { color: #fff; }
.kontakt-left .section-intro { color: rgba(255,255,255,.55); }

.kontakt-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.4rem; }
.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.kontakt-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.kontakt-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .3rem;
}
.kontakt-value {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.55;
}

.kontakt-right {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 2.5rem;
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
  color: #fff;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: .85rem 1rem;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--vine-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group--checkbox { margin-top: .4rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 3px;
  background: rgba(255,255,255,.06);
  margin-top: 2px;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; justify-content: center;
}
.checkbox-label input:checked ~ .checkbox-box {
  background: var(--vine);
  border-color: var(--vine);
}
.checkbox-label input:checked ~ .checkbox-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.checkbox-label.invalid .checkbox-box { border-color: #c0392b; }
.checkbox-text {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.checkbox-text a { color: var(--vine-light); text-decoration: underline; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #c0392b; }
.form-group input.valid,
.form-group textarea.valid   { border-color: var(--vine-light); }
.field-error {
  display: none;
  font-size: .78rem;
  color: #e05a4a;
  margin-top: .35rem;
  letter-spacing: .01em;
}
.form-group input.invalid ~ .field-error,
.form-group textarea.invalid ~ .field-error { display: block; }
.form-submit {
  width: 100%;
  padding: .95rem;
  background: var(--vine);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.form-submit:hover { background: var(--vine-light); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: #111110;
  color: rgba(255,255,255,.35);
  text-align: center;
  padding: 2rem;
  font-size: .8rem;
  letter-spacing: .04em;
}
footer a { color: rgba(255,255,255,.5); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ── SUBPAGES (datenschutz, kernüberzeugungen) ── */
body.subpage header {
  background: var(--dark);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
body.subpage .header-logo {
  display: inline-block;
  margin-bottom: 2rem;
}
body.subpage .header-logo img {
  height: 40px;
  width: auto;
}
body.subpage header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 400;
}
body.subpage header p {
  margin-top: .75rem;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}
body.subpage main {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
body.subpage .back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--vine);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  transition: color .2s;
}
body.subpage .back-link:hover { color: var(--vine-light); }
body.subpage .back-link::before { content: '←'; font-size: 1rem; }
body.subpage section {
  padding: 0;
  margin-bottom: 2.5rem;
}
body.subpage h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(74,103,65,.2);
}
body.subpage h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin: 1.25rem 0 .4rem;
}
body.subpage p {
  line-height: 1.75;
  color: var(--text);
  margin-bottom: .75rem;
  font-size: .95rem;
}
body.subpage ul {
  margin: .5rem 0 .75rem 1.25rem;
  line-height: 1.75;
  font-size: .95rem;
}
body.subpage li { margin-bottom: .25rem; }
body.subpage a {
  color: var(--vine);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.subpage a:hover { color: var(--vine-light); }
body.subpage footer p { color: rgba(255,255,255,.35); }
body.subpage footer a { color: rgba(255,255,255,.5); text-decoration: none; }
body.subpage footer a:hover { color: var(--gold); }
body.subpage .highlight-box {
  background: var(--cream);
  border-left: 3px solid var(--vine);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: .9rem;
  line-height: 1.7;
}
body.subpage .last-updated {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,.1);
  color: var(--muted);
  font-size: .85rem;
}

/* ── DIVIDER ── */
.leaf-divider {
  text-align: center;
  color: var(--vine);
  opacity: .25;
  font-size: 1.5rem;
  margin: 0;
  padding: .5rem 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
/* ── BURGER MENU (always active) ── */
.nav-links { display: none; }

/* Burger Button */
#menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: var(--vine);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  padding: 0;
  transition: background .2s;
}
#menu-toggle:hover { background: var(--vine-light); }
#menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu Overlay */
#mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(26,26,24,.96);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.mobile-nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s;
}
.mobile-nav-links a:hover { color: var(--gold); }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .hk-grid,
  .pp-grid,
  .pp-header,
  .kontakt-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pp-poster,
  .hk-visual { width: 100%; max-width: 320px; margin: 0 auto; }
}
